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 >

ViewAngle

ViewAngle
is an option for Graphics3D and related functions which gives the opening half-angle for a simulated camera used to view the three-dimensional scene.
  • The following settings can be used:
Allan opening half-angle sufficient to see everything
Automatica maximum opening angle of 35^◦ (default)
Thetaan explicit half-opening angle in radians
  • With the setting ViewAngle->All, the complete bounding box or circumscribing sphere will, if possible, just fill the final 2D viewing area.
  • The default setting of Automatic is equivalent to All when the simulated camera is far from the object, but is constrained never to be greater than 35^◦, even when the camera is close.
  • ViewAngle->35Degree is a typical field of view used for human ergonomics and in cameras.
  • Changing the setting for ViewAngle is effectively like zooming a camera.
Use a specific half-angle for a simulated camera:
The default 35° half-angle may not be enough for the particular ViewVector setting:
Choose the half-angle automatically, so that the view includes all the objects:
Use a specific half-angle for a simulated camera:
In[1]:=
Click for copyable input
Out[1]=
 
The default 35° half-angle may not be enough for the particular ViewVector setting:
In[1]:=
Click for copyable input
Out[1]=
Choose the half-angle automatically, so that the view includes all the objects:
In[2]:=
Click for copyable input
Out[2]=
Illustrate the relation between ViewAngle and the simulated camera view:
New in 6
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team