For quite some time, people have created many entries for controlling the state of figure windows. Some of them set the figure position to match the size of the screen. Some even adjust the size so that the window does not overlap with the task bar. Other entries make use of the underlying JavaFrame.
- 'normal' (default) – The normal state of figure windows.
- 'maximized' – Same as clicking on the maximize button on the figure.
- 'minimized' – Same as clicking on the minimize button on the figure.
- 'fullscreen' – Fills the screen with the minimize, restore, close button hidden.
f = figure; f.WindowState = 'maximized';
Give it a try and let us know what you think here.
To leave a comment, please click here to sign in to your MathWorks Account or create a new one.