|On this page…|
You can easily rotate graphs to any orientation with the mouse. Rotation involves the reorientation of the axes and all the graphics objects it contains. Therefore none of the data defining the graphics objects is affected by rotation; instead the orientation of the x-, y-, and z-axes changes with respect to the viewer.
There are three ways to enable Rotate 3D mode:
Select Rotate 3D from the Tools menu.
Click the Rotate 3D icon in the figure toolbar .
Execute the rotate3d command.
Once the mode is enabled, you press and hold the mouse button while moving the cursor to rotate the graph.
When Rotate 3D mode is enabled, you can control various rotation options from the right-click context menu.
You can rotate to predefined views on the right-click context menu:
Reset to Original View — Reset to the default view (azimuth -37.5°, elevation 30°).
Go to X-Y View — View graph along the z-axis (azimuth 0°, elevation 90°).
Go to X-Z View — View graph along the y-axis (azimuth 0°, elevation 0°).
Go to Y-Z View — View graph along the x-axis (azimuth 90°, elevation 0°).
You can select from two rotation styles on the right-click context menu's Rotation Options submenu:
Plot Box Rotate — Display only the axes bounding box for faster rotation of complex objects. Use this option if the default Continuous Rotate style is unacceptably slow.
Continuous Rotate — Display all graphics during rotation.
You can select two types of behavior with respect to the aspect ratio of axes during rotation:
Stretch-to-Fill Axes – Default axes behavior is optimized for 2-D plots. Graphs fit the rectangular shape of the figure.
Fixed Aspect Ratio Axes – Maintains a fixed shape of objects in the axes as they are rotated. Use this setting when rotating 3-D plots.
The following pictures illustrate a sphere as it is rotated with Stretch-to-Fill Axes selected. Notice that the sphere is not round due to the selected aspect ratio.
The next picture shows how the Fixed Aspect Ratio Axes option results in a sphere that maintains its proper shape as it is rotated.