mouse3d

Easily zoom, pan, rotate the camera in a Matlab axis with left/center/right mouse button

Vous suivez désormais cette soumission

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 (2026). mouse3d (https://fr.mathworks.com/matlabcentral/fileexchange/28095-mouse3d), MATLAB Central File Exchange. Extrait(e) le .

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0