selectfigure

Version 1.1.0.0 (1.68 KB) by Ben Mitch
Select a figure by text string, rather than by number, avoiding conflicts between scripts.
288 Downloads
Updated 22 Nov 2010

View License

To create/select a figure, you would usually use a command such as "figure(1)". Trouble with this is that, if you run multiple scripts as part of an analysis, they can end up stamping on each others' figures. An alternative is to create a figure using just "figure", but this will generate many many figure windows and make you wild and crazy.

This function provides a new way of selecting a figure based on a text string, e.g. "selectfigure 'Plot of people against cake'", making conflicts a thing of the past.

Cite As

Ben Mitch (2024). selectfigure (https://www.mathworks.com/matlabcentral/fileexchange/29476-selectfigure), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

whoops - fixed stupid bug

1.0.0.0