Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Graphics and Sound / 3D Options  /
ViewPoint

  • ViewPoint is an option for Graphics3D and SurfaceGraphics which gives the point in space from which the objects plotted are to be viewed.
  • ViewPoint -> x , y , z gives the position of the view point relative to the center of the three-dimensional box that contains the object being plotted.
  • The view point is given in a special scaled coordinate system in which the longest side of the bounding box has length 1. The center of the bounding box is taken to have coordinates {0, 0, 0}.
  • Common settings for ViewPoint are:
  • Choosing ViewPoint further away from the object reduces the distortion associated with perspective.
  • The view point must lie outside the bounding box.
  • The coordinates of the corners of the bounding box in the special coordinate system used for ViewPoint are determined by the setting for the BoxRatios option.
  • See the Mathematica book: Section 1.9.7Section 2.9.10.
  • See also: ViewCenter, ViewVertical, SphericalRegion.
  • Related package: Geometry`Rotations`.

    Further Examples

    The first plot uses the default view point of {1.3, -2.4, 2}.

    Evaluate the cells to compare the graphics.

    In[1]:=

    In[2]:=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.