Marker color on web browser matlab
1 回表示 (過去 30 日間)
古いコメントを表示
Nachiket Wadwankar
2021 年 4 月 15 日
コメント済み: Nachiket Wadwankar
2021 年 4 月 17 日
I am plotting latitude-longitude location on inbuilt web browser using wmmarker command. When i tried giving custom color to marker using color triplet notation it gave me following error:
Expected ColorSpec to match one of these values:
'red', 'green', 'blue', 'white', 'cyan', 'magenta', 'yellow', 'black'
The input, '#0072BD', did not match any of the valid values.
Is there a way to give custom color to marker other than the standard colors listed above?
Thank you.
採用された回答
Cris LaPierre
2021 年 4 月 17 日
Color must use the convention explained on the Colorspec page. You cannot use hex color codes. Perhaps something like this?
wmmarker(lat,lon,'Color',[0,0.4471,0.7412])
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!