フィルターのクリア

Delete a specific shape of marker from a plot

15 ビュー (過去 30 日間)
Jason
Jason 2020 年 1 月 6 日
コメント済み: Jason 2020 年 1 月 6 日
Hello, I am plotting data using dots and then superimpose a marker of type '+' at certain locations. Is it possible to delete just the '+' markers from the GUIDE axes.
I have tried
delete( findobj(gca, 'type', 'line') );
But this deletes all the markers (including '.')
Thanks
Jason

採用された回答

Adam Danz
Adam Danz 2020 年 1 月 6 日
delete(findobj(gca, 'Marker', '+'))

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by