Activate the rotate 3-D function by choosing the Rotate 3-D option on the Tools menu or by clicking the Rotate 3-D button in the toolbar.
Note
Activating the rotate 3-D function automatically turns off plot editing
mode.
Click on the axes and an outline of the figure appears in the axes to help you visualize the rotation. Drag the cursor in the direction you want to rotate. When you release the mouse button, MATLAB redraws the axes in the new orientation.
Click the rotate button again to end rotate 3-D mode.