how to plot a map

조회 수: 8 (최근 30일)
ahmad Saad
ahmad Saad 2023년 10월 27일
댓글: ahmad Saad 2023년 10월 28일
Hi,
i need to know how i can plot this map ?
  댓글 수: 8
Dyuman Joshi
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.
ahmad Saad
ahmad Saad 2023년 10월 27일
thanks a lot

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

채택된 답변

Cris LaPierre
Cris LaPierre 2023년 10월 27일
편집: Cris LaPierre 2023년 10월 27일
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
Dyuman Joshi
Dyuman Joshi 2023년 10월 28일
Just a note, axesm and plotm requires Mapping Toolbox.
ahmad Saad
ahmad Saad 2023년 10월 28일
Thanks, it is much better.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Mapping Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by