Delete a specific shape of marker from a plot

14 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Adam Danz
Adam Danz il 6 Gen 2020
delete(findobj(gca, 'Marker', '+'))

Più risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by