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 >

ViewVector

ViewVector
is an option for Graphics3D and related functions which specifies the position and direction of a simulated camera used to view three-dimensional objects.
  • ViewVector->{x, y, z} specifies that the camera should be at the position with coordinates {x, y, z}, aimed in the direction specified by ViewCenter.
  • ViewVector->{{x, y, z}, {tx, ty, tz}} specifies that the camera should be aimed in the direction of the point {tx, ty, tz}.
  • Scaled coordinates can be used.
  • How much the simulated camera sees is determined by settings for ViewAngle and ViewRange.
Specify the view vectors using ordinary coordinates:
Specify the view vectors using ordinary coordinates:
In[1]:=
Click for copyable input
Out[1]=
Camera path following a particular parametric curve:
Parametric plot of the camera path:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team