I am plotting this:

 Show[ BarChart[{180, 1, 1}, ChartLabels -> {"A", "B", "C"}, ChartStyle -> {Blue}], 
 BarChart[{15, 0, 0}, ChartLabels -> {"A", "B", "C"}, ChartStyle -> {Red}]]

and what I see in mathematica is:

enter image description here

and this is what i see when i export in eps (don't mind the gray):

enter image description here

As you can see, the y-axis disappears. However, if i export as pdf it is ok.

Any ideas?

  • $\begingroup$ Try Export["plot.eps", First@ImportString[ExportString[plot, "PDF"]]]. If not, check this. $\endgroup$
    – corey979
    Sep 14 '16 at 15:52
  • $\begingroup$ Tnx, this works. But why does it work? Or, why doesn't simple export work? $\endgroup$ Sep 14 '16 at 16:12
  • $\begingroup$ Not really sure; maybe check the link for some hints. $\endgroup$
    – corey979
    Sep 14 '16 at 16:15
  • $\begingroup$ You should add your version info, on OSX with MMA v. I don't have this problem. $\endgroup$
    – N.J.Evans
    Sep 14 '16 at 17:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.