No BSD License  

Highlights from
Create Non-overlapping (cascading) Figure Windows

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 1.39 KB File ID: #8670
image thumbnail

Create Non-overlapping (cascading) Figure Windows

by Michael Kleder

 

06 Oct 2005 (Updated 07 Oct 2005)

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

| Watch this File

File Information
Description

FIGUREC - create a figure window in a non-overlapping (cascading) location

USAGE:

figurec
figurec(...)
h=figurec
h=figurec(...)

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.

EXAMPLE:

close all
for n=1:20
figurec('color',rand(1,3))
plot(0,0);title('Sample')
end

Acknowledgements
This submission has inspired the following:
Cascade
MATLAB release MATLAB 7.0.4 (R14SP2)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
annotation Michael Kleder 22 Oct 2008 08:02:16
customization Michael Kleder 22 Oct 2008 08:02:16
figure Michael Kleder 22 Oct 2008 08:02:16
window Michael Kleder 22 Oct 2008 08:02:16
cascade Michael Kleder 22 Oct 2008 08:02:16
graphics Michael Kleder 22 Oct 2008 08:02:16

Contact us at files@mathworks.com