I very offen plot few figures with different choice of some parameters, with commands like DensityPlot3D and want then to include it in my publication one next to each others. The problem is that when I rotate one figure by hand, to make some features better visible, I would like that all other figures are also rotated in the same manner, otherwise it looks weird in paper. Till now I tried to do it by hand, but it takes a lot of time and especially with 3D plots is very difficult, it also weirdly influence the size of the plots. How can I do it in more automatic way?

  • 1
    $\begingroup$ For 2D you can Rotate the plot that has head Graphics and for 3D you can use ViewPoint but I am sure that you knew that. Can you please include a minimal working example to make it more concrete? $\endgroup$
    – Syed
    Jan 30, 2022 at 4:22
  • $\begingroup$ Possible duplicate: mathematica.stackexchange.com/q/71653 Related (first Manipulate has a control for doing this): mathematica.stackexchange.com/a/29453 $\endgroup$
    – Michael E2
    Jan 31, 2022 at 15:43

1 Answer 1



I forgot that for Method 1 there is also a very simple way to do this, which can be understood by considering the difference between functions Options and AbsoluteOptions. Options "gives the options explicitly specified in a particular expression such as a graphics object." So this woks wonderfully:

enter image description here

Original post

Method 1

You can place a 3D graphics object inside such code:

enter image description here

and after manual rotation find affected view settings and apply them as options in other graphics you have. Here is the code in the text form:


Method 2

You can also try automating this process with Dynamic, so when you rotate any of the objects all other adjust automatically with the same settings. Something like this:

RegionPlot3D[x y z<1,{x,-5,5},{y,-5,5},{z,-5,5},

enter image description here

CMD+SHIFT+I (on Mac) with the image cell selected to view current values:

enter image description here


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.