How to shift the center or the longitudes of map plotted using load coast

11 visualizzazioni (ultimi 30 giorni)
Hi all,
I have plotted the map using load coast and it gives me the centre as 0 on the longitude axis. I want to convert it to 0to360 scale and then shift the centre so that the indian ocean is on the centre. Can anyone give some suggestions
Thanks in Advance
Best,
Rahul

Risposta accettata

Amy Haskins
Amy Haskins il 20 Mar 2019
You could do this by changing the map origin.
load coastlines
ax = worldmap('World')
setm(ax,'Origin',[0,180])
geoshow(ax,coastlat,coastlon)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by