How do I delete all annotations on a figure but not do clf?
63 ビュー (過去 30 日間)
古いコメントを表示
How do I delete all annotations on a Figure? I do not want to do "clf" since that loses attributes that I want to keep. Doing "cla" does not remove the annotations.
0 件のコメント
採用された回答
Ritesh Chandna
2017 年 4 月 10 日
Please use the below command to delete all the annotations on a figure:
>>delete(findall(gcf,'type','annotation'))
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polygons についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!