Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Visualization and Graphics > Graphics Options & Styling > 3D Graphics Options >

ViewVertical

ViewVertical
is an option for Graphics3D and related functions which specifies what direction in scaled coordinates should be vertical in the final image.
  • The default setting is ViewVertical->{0, 0, 1}, which specifies that the z axis in your original coordinate system should end up vertical in the final image.
  • The setting for ViewVertical is given in scaled coordinates, which run from 0 to 1 across each dimension of the bounding box.
  • Only the direction of the vector specified by ViewVertical is important; its magnitude is irrelevant.
  • Changing ViewVertical has the effect of tipping a simulated camera.
By default, the direction of the z axis is the vertical direction in the final image:
Use the direction of the x axis as the vertical direction in the final image:
Various view vertical directions:
By default, the direction of the z axis is the vertical direction in the final image:
In[1]:=
Click for copyable input
Out[1]=
 
Use the direction of the x axis as the vertical direction in the final image:
In[1]:=
Click for copyable input
Out[1]=
 
Various view vertical directions:
In[1]:=
Click for copyable input
Out[1]=
Orient a 3D rendering of a 2D cellular-automaton evolution:
New in 2 | Last modified in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team