Editor's Note: This file was selected as MATLAB Central Pick of the Week
This function takes existing figures and cascades them so that they are easy to see and access when not docked.
Isaac Noh (2021). Cascade (https://www.mathworks.com/matlabcentral/fileexchange/16002-cascade), MATLAB Central File Exchange. Retrieved .
Inspired by: Create Non-overlapping (cascading) Figure Windows
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
When the cascade deck of figures is full, can you start another deck that is horizontally offset from the first figure in the first deck? This will allow multi-deck of cascade figures on one monitor.
Thanks again for a great program.
This is a great function to have when there's too many figures. However, it does not always sort the figures by the figure number, which is often desired.
Replacing figs=sort(figs);
with figs=handle(sort(double(findall(0,'type','figure'))));
Will allow the figures to be sorted by the figure number.
I'd recommend to either implement it as an option or replace it.