Filter löschen
Filter löschen

Delete a specific shape of marker from a plot

15 Ansichten (letzte 30 Tage)
Jason
Jason am 6 Jan. 2020
Kommentiert: Jason am 6 Jan. 2020
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

Akzeptierte Antwort

Adam Danz
Adam Danz am 6 Jan. 2020
delete(findobj(gca, 'Marker', '+'))

Weitere Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by