Minimize/maximize figure window

Similar to figure function. Resizes figure window to full screen/default dims.

You are now following this Submission

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 .

Categories

Find more on Graphics Objects in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0