Figure Rotator
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.
Citar como
Tucker McClure (2024). Figure Rotator (https://www.mathworks.com/matlabcentral/fileexchange/39558-figure-rotator), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control >
- MATLAB > Graphics > Graphics Objects > Specifying Target for Graphics Output >
Etiquetas
Agradecimientos
Inspiración para: VoxelPlotter, Figure control widget
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.