unplot

版本 1.0.0.0 (1.5 KB) 作者: Toby Driscoll
Removes the most recently drawn object(s).
6.3K 次下载
更新时间 2003/3/18

查看许可证

编者注: 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.

引用格式

Toby Driscoll (2026). unplot (https://ww2.mathworks.cn/matlabcentral/fileexchange/2831-unplot), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Graphics Object Properties 的更多信息
版本 已发布 发行说明
1.0.0.0

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