How to change default pointer color in mapshow?

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?

 채택된 답변

Amy Haskins
Amy Haskins 2015년 4월 14일

0 개 추천

mapshow(-0.5796,-0.0335,'DisplayType','point','Marker','*','MarkerEdgeColor','y')

추가 답변 (1개)

Chad Greene
Chad Greene 2015년 4월 13일

0 개 추천

Can you simply use plot?
plot(-0.5796,-0.0335,'*','color','y')

댓글 수: 1

Shree
Shree 2015년 4월 15일
I needed to use mapshow. Amy just answered the correct one! Thank you for your reply!

댓글을 달려면 로그인하십시오.

태그

질문:

2015년 4월 12일

댓글:

2015년 4월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by