maximize

版本 1.2.1 (3.2 KB) 作者: Rik
Maximize the figure window (multiple strategies implemented)
226.0 次下载
更新时间 2020/7/6

This function tries multiple solutions for maximizing the figure window, so it should work on nearly all releases of Matlab and Octave on nearly all OSes (Windows/Mac/Unix). This is written to be portable and shareable. If you know more solutions, please contact me, so I can add it to the list.

1 attempt to set the WindowState property to maximized
2 use JavaFrame to maximize the figure
3 press alt-space followed by x (Windows/Linux hotkey)
4 ugly solution: set the position to the screen size minus a small margin (this includes an attempt to check for a multiple monitor set up)

Licence: CC by-nc-sa 4.0

For the British English searchers:
maximise figure window
Logo taken from: https://pixabay.com/vectors/screen-gui-window-magnify-maximize-39107/

引用格式

Rik (2024). maximize (https://github.com/thrynae/maximize/releases/tag/1.2.1), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2020a
与 R13SP1 及更高版本兼容
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Interactive Control and Callbacks 的更多信息

Community Treasure Hunt

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

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

See release notes for this release on GitHub: https://github.com/thrynae/maximize/releases/tag/1.2.1

1.2.0.0

added WindowState option

1.1.0.0

updated alt-space X method

1.0.0.0

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