figmenu: An automatic figure-selection menu

Easily switch between figures using a menu that is created automatically.
Updated 26 Mar 2018

View License

Editor's Note: This file was selected as MATLAB Central Pick of the Week

This function controls a "Figures" menu that will appear automatically on normal graph figures (i.e., non-GUIs).
Type "figmenu on" or "figmenu off" to turn it on and off. The menu can be added to existing figures with "figmenu add".
From the menu you can switch to any other figure, or maximize or close figures. It is especially useful when figures have been maximized and cover the other figures.

Cite As

Douglas Schwarz (2024). figmenu: An automatic figure-selection menu (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
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

Turned off JavaFrame warning when Maximizing or Restoring a figure. Improved criteria for determining if a figure is a GUI.

Added new menu items to switch figures sequentially. Also, now accommodate a large number of figures by grouping them in the menu.