File Exchange

image thumbnail

unplot

version 1.0.0.0 (1.46 KB) by

Removes the most recently drawn object(s).

2 Downloads

Updated

View License

Editor's Note: 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.

Comments and Ratings (19)

D. Griffiths

I still don't understand why this isn't built in. Very useful tool!

John D'Errico

Good idea.

Kevin

Kevin (view profile)

This needs to be a built in feature! A+

malcon stanton

malcon stanton

Pavel Kurguz

Losangela Cipriani

Krishna Pillai

Nice tool

Festa Bartolomeo

Cido Cido

ale jun

Sheena Black

Two thumbs way up! This function has changed my life and my entire MATLAB experience! I could never go back to a world without UNPLOT!!! Riveting! Moving! Truely amazing!!!

gorden jemwa

Brilliant and addictive! Needs to be incorporated in future MATLAB releases as a standard tool.

J S

Excellent!! It saves me a lot of time that I used to spend writing temporary m-files to plot temporary variables.

Stu Libby

Outstanding! Exactly the tool I needed to remove data plots after comparing them to a baseline plot. Allows subsequent comparisons without having to replot the baseline data each time.

John Bishop

Excellent time saver. Once tried, you won't be able to work without it!

Norbert Marwan

A very well performed and useful little tool.

John Bishop

Great! Saves a lot of mouse manipulation and zooming.

Updates

1.0.0.0

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

Minor changes in description; lowercase name for search compatibility

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

Win cash prizes and have your live script featured on our website

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video