unplot

Removes the most recently drawn object(s).
6,3K Downloads
Aktualisiert 18. Mär 2003

Lizenz anzeigen

Anmerkung des Herausgebers: This file was a File Exchange Pick of the Week

Often I add an object to a plot and see that I goofed up in some way. This is a very quick way to undo such mistakes.From the help:UNPLOT Delete the most recently created graphics object(s). UNPLOT removes the most recently created line, surface, patch, or text object created in the current axes. UNPLOT(N) removes the N most recent. UNPLOT SET takes a snapshot of the objects currently in the axes. UNPLOT REVERT removes any objects drawn since the last SET.

Zitieren als

Toby Driscoll (2024). unplot (https://www.mathworks.com/matlabcentral/fileexchange/2831-unplot), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R13
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Graphics Object Properties finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

Thanks to Norbert Marwan: Now copes when the number requested exceeds the number of objects.