mouse3d
Versión 1.0.0.0 (3,8 KB) por
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
Citar como
Dirk-Jan Kroon (2025). mouse3d (https://www.mathworks.com/matlabcentral/fileexchange/28095-mouse3d), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Camera Views >
Más información sobre 3-D Scene Control en Help Center y MATLAB Answers.
Etiquetas
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.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |