how can I plot an icon on a map axis

6 ビュー (過去 30 日間)
Stephen Forczyk
Stephen Forczyk 2016 年 12 月 19 日
回答済み: mizuki 2016 年 12 月 20 日
I would like to create maps showing ocean areas with small ship icons at the ship locations. I can create icons but how do I add them to the map?

採用された回答

mizuki
mizuki 2016 年 12 月 20 日
If you have an internet connection, use WEBMAP to draw a map and WMMARKER to put the icon on the map. (See the second example in WMMARKER)
If you do not, use GEOSHOW to draw a map and put an image:
figure
geoshow('landareas.shp', 'FaceColor', [0.5 1.0 0.5]);
hold on
img = imread('peppers.png');image([-70 -50],[0 20],img);
The following documentation code might help you to get an idea. (This is bioinformatics example, but the mapping part does not require it to run)
- Displaying Geographic Regions of the H5N1 Virus on a Map of Africa and Asia

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMapping Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by