This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / 3D Options  /
ViewVertical

  • ViewVertical is an option for Graphics3D and SurfaceGraphics 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 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.
  • See the Mathematica book: Section 2.9.10.

    Further Examples

    The first plot uses the default view point of {1.3, -2.4, 2}. The setting for ViewVertical in the second plot makes the x-axis of the box vertical.

    Evaluate the cells to see the graphics.

    In[1]:=

    In[2]:=