2

I created a graph with Wolfram Mathematica and exported it as .eps file. Then I want to open it with Illustrator to do some amendment. But when I read it with Illustrator, it gives me an error:MPS analytic program can not analyse this file. How can I resolve it? I doubt it is due to the resolution because the other simpler graph(.eps) can be opened by Illustrator.

1
  • Is there any option when saving the eps file in Mathmatica? May be try with the most basic output settings.
    – Zeal Lin
    Commented Jun 29, 2015 at 9:24

3 Answers 3

3

Place figure instead of importing

Illustrator is able to place EPS and PDF figures inside of a document without importing them. If you only need to add some elements to the figure and you do not need to edit it, this feature allows to avoid all the headache associated with importing it into Illustrator in the editable form.

Related questions: "Embedding pdf in illustrator", "Placed image doesn't show when saving as PDF", "Mathematica-exported PDFs placed in Illustrator documents keep disappearing".

Note that CorelDRAW is also able to place EPS, but this functionality currently (version X6) is still buggy and of little use.


Use another intermediate vector format

It is usually better to Export figures from Mathematica as PDF for the purposes of importing them into such programs as Illustrator, CorelDRAW or Inkscape. From my experience the PDF format is the most supported vector format in Mathematica.

In the cases when PDF gives inappropriate results one can try Exporting into EMF or SVG. Sometimes none of these solutions gives appropriate result but every of them allows to import correctly a subset of the original objects from Mathematica into vector drawing program. In such situations the correct result often can be obtained by combining correctly imported objects obtained through different intermediate vector drawing formats.

See also this answer for an explanation of differences between vector formats.

2

You should try to use a PDF export instead of EPS, it should do the same thing except that it should work better with transparencies etc. While so far i have mostly the same answer as Alexey Popkov who is worth listening to theres something more you can do:

In the case that you absolutely have to have an EPS file and none of the other files work, you can try to circulate the file trough eps2eps that comes with GhostScript. It will make your file simpler but will give it a much better chance of not failing.

Another approach is to convert the eps to PDF with acrobat distiller this works slightly better in some corner cases.

1

You should try exporting to SVG instead: here is how.

1
  • Hi, could you please explain how to do the export instead. As it stands this is a link only answer which is frowned upon. If you don't want to explain than Delete this and leave it as a comment on the question instead.
    – Ryan
    Commented Jul 2, 2015 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.