FIGUREC - create a figure window in a non-overlapping (cascading) location
FIGUREC acts just like the MATLAB FIGURE command, with all arguments passed through, except that the new figure is created a little to the right and down from the highest numbered figure currently existing, so that they won't overlap. If moving the location would push the figure too close to the edge of the screen, then the new figure is created in the default location as usual. (Subsequent figures will again be cascaded.) An optional figure handle is returned according to the usual FIGURE calling syntax.
Michael Kleder (2020). Create Non-overlapping (cascading) Figure Windows (https://www.mathworks.com/matlabcentral/fileexchange/8670-create-non-overlapping-cascading-figure-windows), MATLAB Central File Exchange. Retrieved .
Try this for strict non-overlapping: http://www.mathworks.com/matlabcentral/fileexchange/55468-align-figures-without-overlap
Just tried it with 2014b and it fails where it tries to find the latest figure object:
f = max(f)
I replaced it with f = f(1) and it seems to work.