Borrar filtros
Borrar filtros

undo textm on a map

1 visualización (últimos 30 días)
MCM
MCM el 16 de Mzo. de 2015
Comentada: MCM el 16 de Mzo. de 2015
Hello, I created an interactive map using inputm and textm where user specifies quadrants on a map to exclude/include in analysis. After they click, I use textm to place a X there so that user knows where they have already clicked. I want to give users the option of changing their minds. How do I remove the X placed on the map? I tried another textm in same lat/long with empty string but it doesn't write over original marking.
Is there a way to remove the text that textm placed on a map?
Thanks

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 16 de Mzo. de 2015
grab the handle to the text object, then you can delete it
h = textm(etc)
To delete
delete(h);
  1 comentario
MCM
MCM el 16 de Mzo. de 2015
Thank you! So simple and so brilliant!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by