No License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Create Non-overlapping (cascading) Figure Windows

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 1.39 KB File ID: #8670 Version: 1.0
image thumbnail

Create Non-overlapping (cascading) Figure Windows


Michael Kleder (view profile)


06 Oct 2005 (Updated )

Creates figures as usual, except puts them in non-overlapping locations.

| Watch this File

File Information

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.


close all
for n=1:20


This file inspired Cascade.

MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
22 Feb 2016 YongGyu Han

Try this for strict non-overlapping:

Comment only
07 Jan 2015 Eddie

Eddie (view profile)

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.

Comment only
07 Jan 2015 Eddie

Eddie (view profile)

Contact us