I am having trouble when exporting eps figures since I have upgraded to mathematica 10.0 in linux.

Basically the text in the frame label and in the frameticks come out bad. The letters are much to close to each other. They are almost on top of each other.

For instance when I plot

ListPlot[{{0, 0}, {0.1, 0.1}}, Frame -> True, FrameTicks -> {{{{0.04, 0.04}, {0.08, 2.25}}, 
    None}, {{{0.04, 0.04}, {0.08, 2.25}}, None}}, FrameLabel -> {"x Axis", "y Axis"}]

The first image is exported as an eps then converted to png with convert -density 300 Test.eps Testeps.png enter image description here

The second image is exported as a pdf then converted to png with convert -density 300 Test.pdf Testpdf.png enter image description here

Thanks in advance for any help.

  • $\begingroup$ Welcome to Mathematica.SE! I suggest that: 1) You take the introductory Tour now! 2) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign! 3) As you receive help, try to give it too, by answering questions in your area of expertise. $\endgroup$
    – bbgodfrey
    Feb 3, 2015 at 13:14
  • 1
    $\begingroup$ It has been discussed quite a few times here already. What seems to be the case is that pdf export works much better since V10 and also much better than eps export. If you need to get a good-looking eps image, export to pdf (with Export command, not from the menu) first and then convert pdf to eps with a third party tool. I use "pdftops -eps Something.pdf" under linux to do that. $\endgroup$ Feb 3, 2015 at 13:17
  • $\begingroup$ And note that if your purpose in exporting to .eps is to include the plot in a $\LaTeX$ document, just export it as .pdf and use pdflatex rather than latex to process the document. $\endgroup$
    – murray
    Feb 3, 2015 at 15:09
  • 2
    $\begingroup$ @murray: A good point indeed, in general! May, however, not work with submitting papers if the journals require the figures to be in .eps. $\endgroup$ Feb 3, 2015 at 15:50
  • $\begingroup$ thanks for the advice. I indeed need an eps for submitting papers. I will make a pdf and convert it or reinstall mathematica 9. I nevertheless hope that Wolfram will do something about this issue... $\endgroup$ Feb 4, 2015 at 13:38

1 Answer 1

Export[SystemDialogInput["FileSave", "All.jpg"], %, 
  ImageResolution -> 150, "CompressionLevel" -> 0]; 

Using this export command I got good looking plots on Windows. It may work on your operating system too.

For eps:

Export[SystemDialogInput["FileSave", "All.eps"], %%, 
  ImageResolution -> 150, "CompressionLevel" -> 0]; 

enter image description here

You can experiment with resolution, etc.

This is my first answer so if there is any mistake please pardon me.

  • 1
    $\begingroup$ Thank you for your reply. The problem was actually fixed with mathematica 10.2. $\endgroup$ Mar 15, 2016 at 6:05

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.