view3d.m

view3d Interactively rotate, zoom and pan the view of a 3-D plot
7,6K download
Aggiornato 20 apr 1999

Visualizza la licenza

view3d Interactively rotate, zoom and pan the view of a 3-D plot

VIEW3D ROT turns on mouse-based 3-D rotation
VIEW3D ZOOM turns on mouse-based 3-D zoom and pan
VIEW3D OFF turns it off

VIEW3D(FIG,...) works on the figure FIG

Double click to restore the original view

- hit 'z' key over the figure to switch from ROT to ZOOM
- hit 'r' key over the figure to switch from ZOOM to ROT

in ROT mode:
- press and hold left mouse button to rotate about screen xy axis
- press and hold middle mouse button to rotate about screen z axis

in ZOOM mode:
- press and hold left mouse button to zoom in and out
- press and hold middle mouse button to move the plot

Inspired by rotate3d by The MathWorks, Inc.

Tested under MATLAB 5.2

Cita come

Torsten Vogel (2025). view3d.m (https://it.mathworks.com/matlabcentral/fileexchange/334-view3d-m), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R10
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Interactions, Camera Views, and Lighting in Help Center e MATLAB Answers
Tag Aggiungi tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0