I get the following result when exporting this plot:

g = Plot[x, {x, 0, 1}, Frame -> True]

Mathematica graphics

Export["~/Desktop/g.pdf", g]
(* "~/Desktop/g.pdf" *)

enter image description here

The frames are missing from the exported plot.

I see this problem in Mathematica 11.1.0 on OS X, with the PDF and EPS format. I do not see it with raster formats (like PNG). I do not see it 11.0.1.

(* "11.1.0 for Mac OS X x86 (64-bit) (March 16, 2017)" *)
  • Can anyone else reproduce this? How about other platforms than Mac?

  • What exactly triggers the problem? I do not see the problem with g = Graphics[{Circle[]}, Frame -> True]

  • Is there a simple workaround for the problem?

  • $\begingroup$ No problem with version 11.1.0 on Windows 7 x64. Have you tried other PDF viewer? $\endgroup$ – Alexey Popkov Mar 23 '17 at 15:59
  • $\begingroup$ Please upload somewhere the exported PDF file for comparison. $\endgroup$ – Alexey Popkov Mar 23 '17 at 16:01
  • $\begingroup$ @AlexeyPopkov Temporarily available here: ge.tt/3usZtNj2 $\endgroup$ – Szabolcs Mar 23 '17 at 16:03

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.