Apply Standard+ Keyboard Shortcuts Keys to a Figure Window

版本 1.2.0.0 (7.7 KB) 作者: Julian
Make regular+ Keyboard Shortcuts work after a Figure window grabs focus from the desktop.
668.0 次下载
更新时间 2014/9/26

查看许可证

I habitually use Keyboard shortcuts to get around, Ctrl+0 to go to the Command Window, Shift+Ctrl+0 to the editor etc., but as soon as a plot is thrown up they don't respond. What's more is that I often generate lots of figures and it is hard to get around by Alt-Tab. So I added these functions:
Close all windows (Ctrl+Shift+W)
Close all windows Except this one (Ctrl+Shift+E)
and (un)Dock all (Ctrl+Shift+A).
Reflects changes to shortcuts introduced by MATLAB R2012b.
It is most useful if set-up by default (see Help) using
set(0, 'DefaultFigureKeyPressFcn', @figDefaultKeyPress)

引用格式

Julian (2024). Apply Standard+ Keyboard Shortcuts Keys to a Figure Window (https://www.mathworks.com/matlabcentral/fileexchange/39152-apply-standard-keyboard-shortcuts-keys-to-a-figure-window), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Desktop 的更多信息
标签 添加标签
致谢

参考作品: DRAGZOOM - Drag and zoom tool

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Updated: ADDS new .m file!! with quick Help F1, changes to shortcuts since 2012b, Alt+P for print to file, and Ctrl+D for dragzoom (I am addicted) toggle

1.1.0.0

Updated: adds quick Help, changes to shortcuts since 2012b, Alt+P for print to file, and Ctrl+D for dragzoom (I am addicted) toggle

1.0.0.0