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