automatically arrange figure windows

arrange/align figures automatically.
3.5K 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 (2024). 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
Categories
Find more on Interactive Control and Callbacks 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.3.0.0

use monitor id(Adam Danz's suggestion)
Bug fix.

1.2.0.0

1. Increase maximum number of figures to 27.
2. Allow no arguments calling.

1.1.0.0

Add annotations.

1.0.0.0