How to change default pointer color in mapshow?

2 visualizaciones (últimos 30 días)
Shree
Shree el 12 de Abr. de 2015
Comentada: Shree el 15 de Abr. de 2015
Hello,
I am using mapshow command to display one of the points on the plot. By default the color for the point in this function is red.
mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*')
I need a different color and I tried few things as follows but it does not work.
mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*','Color','Yellow')
mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*','Color','Y')
mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*','Color','yellow')
Is there any way to do it?

Respuesta aceptada

Amy Haskins
Amy Haskins el 14 de Abr. de 2015
mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*','MarkerEdgeColor','y')

Más respuestas (1)

Chad Greene
Chad Greene el 13 de Abr. de 2015
Can you simply use plot?
plot(-0.5796,-0.0335,'*','color','y')
  1 comentario
Shree
Shree el 15 de Abr. de 2015
I needed to use mapshow. Amy just answered the correct one! Thank you for your reply!

Iniciar sesión para comentar.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by