When I define a variable myfig as a Graphics3D object rendered with a specified ViewPoint, the graphic is properly rendered onscreen, but in some cases when Exported (Export[...myfile.eps, myfig, "EPS"]) the .eps image shows the graphic from another (default) ViewPoint. How can one force the ViewPoint to be preserved during Export?

  • 1
    $\begingroup$ Often things like this can be done my explicitly passing the argument to Export (sometimes needing to be first converted to a string). Does that work? $\endgroup$
    – b3m2a1
    Mar 29, 2019 at 1:04
  • $\begingroup$ I don't quite understand your recommendation. I define myfig = Graphics3D...], then on the next line Export[..., myfig, "EPS"]. Is there some trick with $DisplayFunction I'm missing? $\endgroup$ Mar 29, 2019 at 1:07
  • $\begingroup$ Hmm actually I'm not able to reproduce your issue just with regular Export. Can you provide an example that fails for you? $\endgroup$
    – b3m2a1
    Mar 29, 2019 at 1:10
  • $\begingroup$ Alas, the code is long and complicated. I think I'm revealing everything necessary in my posting. Thanks for considering this. My workaround (when it happens) is to hand copy the display cell (in proper ViewPoint), then define a new variable and paste the image as its referent, and then Export that new variable. That works. $\endgroup$ Mar 29, 2019 at 1:56
  • $\begingroup$ What were you trying instead? Were you exporting the cell? I only imagined exporting a Graphics3D expression $\endgroup$
    – b3m2a1
    Mar 29, 2019 at 2:21

1 Answer 1


The current ViewPoint of the 3D-graphics drawn in FrontEnd can be easily obtained by following (sorry, I put it as image but it is more clear):

enter image description here

{ViewPoint -> {0.772292, 1.91213, 2.68278}}

You will have always the new VP if you move somehow the graphics and after evaluate the cell again.

Therefore, you can Export your Graphics3D with manually adjusted ViewPoint just adding the defined VP into the definition of your Graphics3D explicitly.

  • $\begingroup$ Perfect. Thanks so much. (I should have known that.) (accept $\checkmark$) $\endgroup$ Mar 29, 2019 at 7:55
  • $\begingroup$ @DavidG.Stork, Actually I don't know is it feature or bug of modern versions of MMa. The old versions have the ViewPoint selector in top menu but the new don't. $\endgroup$
    – Rom38
    Mar 29, 2019 at 8:03

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.