Show all open or selected figures in a grid.
Updated 30 Jul 2015

View License

Has this happened to you: You run a script that pops open a bunch of new figures, all on top of each other. You want to spread them out and look at them all at once. So you drag, resize, drag, resize, etc. Isn't this what computers were invented for?
With this function, your computer will finally be smarter than you at this. Just create the plots you want, then issue a 'showall' command and they will pop up to the front and lie in a neat grid. For example:

close all, ezplot(@sin,[-pi pi])
figure, ezplot(@cos,[-pi pi])
figure, ezplot(@sinh,[-pi pi])
figure, ezplot(@cosh,[-pi pi])


Cite As

Toby Driscoll (2024). showall (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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