You have a figure on 'hold' - you add a plot, realise you've messed it up (wrong scale, wrong colour, wrong damn plot) - just type 'undo' and it's gone.
Cite As
Ben Mitch (2026). undo (https://www.mathworks.com/matlabcentral/fileexchange/4084-undo), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R10
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Interactive Control and Callbacks in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
