mouse3d
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
Citation pour cette source
Dirk-Jan Kroon (2024). mouse3d (https://www.mathworks.com/matlabcentral/fileexchange/28095-mouse3d), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control >
- MATLAB > Graphics > Formatting and Annotation > 3-D Scene Control > Camera Views >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |