myfigure

shortcut for figure command to enable switching between figures w/o raising windows to the front
258 Downloads
Updated 30 Dec 2011

View License

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

Cite As

David Long (2024). myfigure (https://www.mathworks.com/matlabcentral/fileexchange/34392-myfigure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0