mouse3d
Versione 1.0.0.0 (3,8 KB) da
Dirk-Jan Kroon
Easily zoom, pan, rotate the camera in a Matlab axis with left/center/right mouse button
This function MOUSE3D enables mouse camera control on an certain figure axes.
Enable mouse control with mouse3d(axis-handle) or just mouse3d
MouseButtons
Left : Rotate
Right : Zoom
Center : Pan
Keys
'r' : Change mouse rotation from inplane to outplane
'i' : Go back to initial view
Example,
[X,Y,Z] = peaks(30);
surf(X,Y,Z)
colormap hsv
% Enable mouse control
mouse3d
Cita come
Dirk-Jan Kroon (2026). mouse3d (https://it.mathworks.com/matlabcentral/fileexchange/28095-mouse3d), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2010a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Graphics > Labels and Styling > Interactions, Camera Views, and Lighting >
- MATLAB > Graphics > Labels and Styling > Interactions, Camera Views, and Lighting > Camera Views >
Scopri di più su Interactions, Camera Views, and Lighting in Help Center e MATLAB Answers
Tag
Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
| Versione | Pubblicato | Note della release | |
|---|---|---|---|
| 1.0.0.0 |
