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

12 views (last 30 days)
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

Accepted Answer

Amy Haskins
Amy Haskins on 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)

More Answers (0)

Community Treasure Hunt

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

Start Hunting!