Show figures

Version (1.25 KB) by Colin
A quick, lightweight function that makes viewing specific figures faster and easier.


Updated 24 Jan 2013

View License

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:


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 (2023). Show figures (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012a
Compatible with any release
Platform Compatibility
Windows macOS Linux
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