Code covered by the BSD License  

Highlights from
undo

5.0

5.0 | 3 ratings Rate this file 22 Downloads (last 30 days) File Size: 1.12 KB File ID: #4084

undo

by Ben Mitch

 

23 Oct 2003 (Updated 24 Oct 2003)

Undo last or last N figure items.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
14 Sep 2006 emre akbas

very useful!

23 Jun 2009 saan

its works well.. thank you..

09 Oct 2009 Joe McGlinchy

scatter plots of mapped pixels on an image, can change parameters without having to close and reload the figure. thanks!

11 Jan 2010 Roses Jonse

Hello,

thanks for this helpful code,actually in my project I need both undo/redo methods and thanks god I find this code for undo but remains the redo problem and I try to edit this code to use it for redo but until now I didn't find any thing to help me I think it will be the same code accept changing the method delete(g(i)) with another method that makes a reverse work so if you can help me please please as soon as possible .
hint:in my project I don't have GUI instead I have my own interface and everything depends on image processing so I can't use uiundo method built in matlab.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
undo Ben Mitch 22 Oct 2008 07:09:01
figure Ben Mitch 22 Oct 2008 07:09:01
item Ben Mitch 22 Oct 2008 07:09:01
miscellaneous Ben Mitch 22 Oct 2008 07:09:01
utilities Ben Mitch 22 Oct 2008 07:09:01

Contact us at files@mathworks.com