i3v/figkeys

Version 1.0.0.0 (6,72 KB) von Igor
zoom / pan / rotate / datacursor hotkeys for a figure
273 Downloads
Aktualisiert 5 Jun 2016

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();

Zitieren als

Igor (2024). i3v/figkeys (https://github.com/i3v/figkeys), GitHub. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2015a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Visual Exploration finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Versionen, die den GitHub-Standardzweig verwenden, können nicht heruntergeladen werden

Version Veröffentlicht Versionshinweise
1.0.0.0

Improved description
Updated submission icon-2

Updated submission icon

Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.