Borrar filtros
Borrar filtros

Delete a specific shape of marker from a plot

15 visualizaciones (últimos 30 días)
Jason
Jason el 6 de En. de 2020
Comentada: Jason el 6 de En. de 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

Respuesta aceptada

Adam Danz
Adam Danz el 6 de En. de 2020
delete(findobj(gca, 'Marker', '+'))

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by