Minimize/maximize figure window

Similar to figure function. Resizes figure window to full screen/default dims.
2.9K Downloads
Updated 14 Jun 2011

View License

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. (2024). Minimize/maximize figure window (https://www.mathworks.com/matlabcentral/fileexchange/31793-minimize-maximize-figure-window), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Graphics Objects in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0