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://jp.mathworks.com/matlabcentral/fileexchange/2831-unplot), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersGraphics 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.