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])
Toby Driscoll (2020). showall (https://www.mathworks.com/matlabcentral/fileexchange/52344-showall), MATLAB Central File Exchange. Retrieved .