selectfigure
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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.