unplot

Removes the most recently drawn object(s).

이 제출물을 팔로우합니다

편집자 메모: 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://kr.mathworks.com/matlabcentral/fileexchange/2831-unplot), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Graphics Object Properties에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

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