how to plot a map

10 Ansichten (letzte 30 Tage)
ahmad Saad
ahmad Saad am 27 Okt. 2023
Kommentiert: ahmad Saad am 28 Okt. 2023
Hi,
i need to know how i can plot this map ?
  8 Kommentare
Dyuman Joshi
Dyuman Joshi am 27 Okt. 2023
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 am 27 Okt. 2023
thanks a lot

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 27 Okt. 2023
Bearbeitet: Cris LaPierre am 27 Okt. 2023
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 Kommentare
Dyuman Joshi
Dyuman Joshi am 28 Okt. 2023
Just a note, axesm and plotm requires Mapping Toolbox.
ahmad Saad
ahmad Saad am 28 Okt. 2023
Thanks, it is much better.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Geographic Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by