Spans Figures on Screen

This (very small) function tiles all opened figures on the screen
259 Downloads
Updated 23 Aug 2012

View License

you can use this function to tile all opened figures on screen. simply run spanFigures

or use it in code to span only desired figures, passing the requested figures handle vector to the function
spanFigures( hFig )

usage example:
hFig = zeros(7,1);
for n = 1 : 7
hFig(n) = figure;
plot(randn(20,2))
end
spanFigures(hFig,true,'xy')
or:
spanFigures([],true,'xy')

Cite As

Yonathan Nativ (2024). Spans Figures on Screen (https://www.mathworks.com/matlabcentral/fileexchange/31604-spans-figures-on-screen), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
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.2.0.0

replaced a for loop with a vector (embarrassing :)

1.1.0.0

added:
- option to link the figures axes (zooming on all together)

- consideration in the screen aspect ratio in the sorting of the figures

1.0.0.0