unplot

Removes the most recently drawn object(s).

Ahora está siguiendo esta publicación

Nota del editor: 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.

Citar como

Toby Driscoll (2026). unplot (https://es.mathworks.com/matlabcentral/fileexchange/2831-unplot), MATLAB Central File Exchange. Recuperado .

Categorías

Más información sobre Graphics Object Properties en Help Center y MATLAB Answers.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.0.0

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