This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

ViewVertical

Updated In 6 Graphic
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, z-axis direction as the vertical direction in the final image:
In[1]:=
Click for copyable input
Out[1]=
 
Use x-axis direction 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]=
New in 2 | Last modified in 6