image thumbnail

automatically arrange figure windows

version 1.3.0.0 (1.61 KB) by JaeJun Lee
arrange/align figures automatically.

3K Downloads

Updated 20 Jan 2017

View License

INPUT :
NH : number of grid of vertical direction
NW : number of grid of horizontal direction
OUTPUT :
get every figures that are opened now and arrange them.

autoArrangeFigures selects automatically Monitor1.
If you are dual(or more than that) monitor user, I recommend to set wide
monitor as Monitor1.

if you want arrange automatically, type 'autoArrangeFigures(0,0)' or 'autoArrangeFigures()'.
But maximum number of figures for automatic mode is 27.

if you want specify grid for figures, give numbers for parameters.
but if your grid size is smaller than required one for accommodating
all figures, this function changes to automatic mode and if more
figures are opend than maximum number, then it gives error.

Notes
+ 2017.1.20 use monitor id(Adam Danz's idea)

leejaejun, Koreatech, Korea Republic, 2014.12.13
jaejun0201@gmail.com

Cite As

JaeJun Lee (2022). automatically arrange figure windows (https://www.mathworks.com/matlabcentral/fileexchange/48480-automatically-arrange-figure-windows), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!