How to shift the center or the longitudes of map plotted using load coast
12 views (last 30 days)
Show older comments
rahul peethambaran
on 15 Mar 2019
Answered: Amy Haskins
on 20 Mar 2019
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
0 Comments
Accepted Answer
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)
0 Comments
More Answers (0)
See Also
Categories
Find more on Mapping Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!