how to plot a map
9 ビュー (過去 30 日間)
古いコメントを表示
Hi,
i need to know how i can plot this map ?
8 件のコメント
Dyuman Joshi
2023 年 10 月 27 日
Yes, that's what I am saying.
The countries will be shown as white, but the oceans, seas and any water bodies will be gray in color. You can not change that.
採用された回答
Cris LaPierre
2023 年 10 月 27 日
編集済み: Cris LaPierre
2023 年 10 月 27 日
You could use shapefiles (see this answer: https://www.mathworks.com/matlabcentral/answers/361871-plot-india-map-at-the-background), or the built in coastlines.mat (see here: https://www.mathworks.com/help/map/map-limit-properties.html)
load coastlines.mat
axesm('mercator','MapLatLimit',[5 35],'MapLonLimit',[60 100],'grid','on',...
'MLineLocation',10,'PLineLocation',5,'MeridianLabel','on','ParallelLabel','on',...
'LabelFormat','none','MLabelParallel',0)
plotm(coastlat,coastlon)
plotm(17.842,73.089,'r*')
plotm(9.177,77.852,'b*')
xlabel('LONGITUDE(Deg. East)')
ylabel('LATITUDE (Deg. North)')
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Geographic Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!