MATLAB Function Reference Previous page   Next Page
rotate3d

Rotate 3-D view using mouse

Syntax

Description

rotate3d on enables mouse-base rotation on all axes within the current figure.

rotate3d off disables interactive axes rotation in the current figure.

rotate3d toggles interactive axes rotation in the current figure.

rotate3d(figure_handle,...) enables rotation within the specified figure instead of the current figure.

rotate3d(axes_handle,...) enables rotation only in the specified axes.

Using rotate3d

When enabled, rotate3d provides continuous rotation of axes and the objects it contains through mouse movement. A numeric readout appears in the lower left corner of the figure during rotation, showing the current azimuth and elevation of the axes. Releasing the mouse button removes the animated box and the readout.

You can also enable 3-D rotation from the figure Tools menu or the figure toolbar.

See Also

camorbit, rotate, view

Object Manipulation for related functions


Previous page  rotate round Next page

© 1994-2005 The MathWorks, Inc.