i3v/figkeys

版本 1.0.0.0 (6.7 KB) 作者: Igor
zoom / pan / rotate / datacursor hotkeys for a figure
275.0 次下载
更新时间 2016/6/5

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

引用格式

Igor (2024). i3v/figkeys (https://github.com/i3v/figkeys), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Data Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.0.0.0

Improved description
Updated submission icon-2

Updated submission icon

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库