Mouse Up Rotation

Rotate a 3D patch with mouse.

You are now following this Submission

This function provides continuous rotation of a 3D figure on the mouse up click. This may prevent a little bit of RSI ;-) It displays the elevation and azimuth values while rotating. Rotation is in the direction of mouse movement away from the centre of the figure window. When the next mouse click up is registered, the rotation stops and the current elevation and azimuth values are returned to the workspace.

This function is based on an earlier one from MATLAB Central, as noted in the .m file.

Cite As

Darren Weber (2026). Mouse Up Rotation (https://uk.mathworks.com/matlabcentral/fileexchange/1351-mouse-up-rotation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0