Show figures
This is a handy little function I wrote to save time when sorting through a barrage of figures when I know them by their handle number.
E.g. Say I wanted to look at figures 3,4, and 5... rather than making a loop using figure(ii) or sorting through them manually, you can just type:
show 345
*If you have double-digit figure numbers, you have to use the more conventional parentheses notation:
show(10:13)
Either way, if you happen to have a vector of figure numbers you will plot frequently you can just use that as the input.
Hope you find it useful!
Cite As
Colin (2026). Show figures (https://in.mathworks.com/matlabcentral/fileexchange/39996-show-figures), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Specific Sample Function Plotting using MatLab 7.12
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
