Figure control widget

Intuitive manipulation of a figure using key and mouse gestures
1K Downloads
Updated 22 Jul 2015

View License

Especially useful for 3d renderings, this widget allows the user to intuitively rotate, pan and zoom any axes within a figure using key presses and mouse gestures. Additionally, link several axes to move synchronously, press q to quit the widget, r (or double-click) to reset the current axes and escape to close the figure.

Cite As

Oliver Woodford (2024). Figure control widget (https://www.mathworks.com/matlabcentral/fileexchange/38019-figure-control-widget), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Specifying Target for Graphics Output in Help Center and MATLAB Answers
Acknowledgements

Inspired by: view3d.m, Figure Rotator

Inspired: View Contol Widget

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.5.0.0

This update allows the method to block, be ignored when modifier keys are pressed, and pass on mouse gestures and button presses to other callbacks.

1.4.0.0

Added ability to link axes

1.3.0.0

Add scroll wheel functionality

1.1.0.0

Improved resetting of multiple axes and figures

1.0.0.0