Minimize/maximize figure window
This functions wraps Matlab figure function, allowing the user to set the figure size to one of the two following states- full screen or non full screen (figure default). As figure function results with non-maximized dimensions, the default in this function if full screen figure (otherwise there is no reason to use this function). It also can be used to resize the figure, in a manner similar to clicking the "Maximize"/"Restore down" button with the mouse.
All Figure Properties acceptable by figure function are supported by this function as well.
Based on hidden Matlab features described at: http://undocumentedmatlab.com/blog/minimize-maximize-figure-window/
Cite As
Nikolay S. (2026). Minimize/maximize figure window (https://www.mathworks.com/matlabcentral/fileexchange/31793-minimize-maximize-figure-window), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Graphics Objects >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |