swplot.mouse adds rotation and zoom functionality to the active swplot
figure. The following mouse actions are supported:
mouse-dragRotation of objects.
ctrl+mouse-dragShift of objects (pan).
mouse-wheelZoom of objects.
ctrl+mouse-wheelChange perspective and switch to perspective projection.
- Handle of the swplot figure. Default is the active figure.
- String determines whether camera projection mode is changed
automatically between orthographic (zooming withouth ctrl
key pressed) and perspective (zooming with ctrl key
'auto'Automatic switching (default).