Code covered by the BSD License  

Highlights from
myfigure

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 1.59 KB File ID: #34392

myfigure

by David Long

 

30 Dec 2011

shortcut for figure command to enable switching between figures w/o raising windows to the front

| Watch this File

File Information
Description

This shortcut replacement for matlab's figure command allows rapid switching between figures without the speed slow down caused by raising the figure window to the front every time it is made active, which is the default action for matlab's figure command. Using this routine figures can be plotted to even when iconified and is very handy when rapidly switching between figures.

Usage: h=myfigure(num) with optional input and output args

- if there no input figure number num, rutine creates a new figure which is raised to front and made active
- if num is specified and figure does not exist, routines creates figure num which is raised to front and made active
- if figure num already exits, this function makes it active (current) but does not raise it to the front

optionally returns figure handle of newly active figure

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
02 Feb 2012 Benjamin

Well documented, does its job well, since raising figures with many graphics elements is painfully slow sometimes.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
utilities David Long 30 Dec 2011 11:36:47
shortcuts David Long 30 Dec 2011 11:36:47
graphics David Long 30 Dec 2011 11:36:47

Contact us at files@mathworks.com