Figure Rotator

Allows a user to easily navigate around a target point in a 3D figure using a mouse.

您现在正在关注此提交

The FigureRotator is a light and fast tool allowing a user to easily navigate around a target point in a 3D figure using a mouse. The camera will "orbit" a target point, move in and out, and zoom.
While these types of motion are available in MATLAB's built-in Camera Toolbar, the FigureRotator provides a combined interface allowing rotation, movement, and zooming to happen all at once by using the left mouse button for rotation, the scroll wheel for movement in and out, and the right mouse button for zooming, allowing a user to explore a 3D object more quickly. Further, the FigureRotator appears to work more quickly than the Camera Toolbar tools if the figure is also being animated.
Example:

peaks;
f = FigureRotator(gca());

Try 'help FigureRotator' for more examples or see example_figure_rotator.m for an example involving smooth motion during animation.

引用格式

Tucker McClure (2026). Figure Rotator (https://ww2.mathworks.cn/matlabcentral/fileexchange/39558-figure-rotator), MATLAB Central File Exchange. 检索时间: .

致谢

启发作品: VoxelPlotter, Figure control widget

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.1.0.1

Updated license

1.1.0.0

Updated for new R2014b graphics system.

1.0.0.0