zoom / pan / rotate / datacursor hotkeys for a figure
You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
MAIN FEATURES:
* Allows to toggle zoom / pan / rotate / datacursor
* Adds "zoom with mousewheel" to "pan" mode
* Said functionality does not disappear when corresponding buttons are clicked on the figure toolbar
(in contrast with a naive approach)
* Provides an example of a workaround on how to fix 'KeyPressFcn' beeing overwritten when cursor mode changes
HOTKEYS:
* 'z' - toogles zoom mode ( last used of zoom-in and zoom-out - assumes
that mouse wheel is used to change the zoom level )
* 'x' - toggles pan mode. Also adds zooming-with-mouse-wheel.
* 'c' - toggles rotation mode
* 'v' - toggles datacursor mode
QUICKSTART:
Try the demo:
>> figkeys.demo_imshow()
or try it on your own figure like this:
>> imshow('peppers.png'); figkeys.setHotkeys();
Cite As
Igor (2026). i3v/figkeys (https://github.com/i3v/figkeys), GitHub. Retrieved .
General Information
- Version 1.0.0.0 (6.72 KB)
-
View License on GitHub
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 | Improved description
Updated submission icon |
