How to shift the center or the longitudes of map plotted using load coast
조회 수: 11 (최근 30일)
이전 댓글 표시
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
채택된 답변
Amy Haskins
2019년 3월 20일
You could do this by changing the map origin.
load coastlines
ax = worldmap('World')
setm(ax,'Origin',[0,180])
geoshow(ax,coastlat,coastlon)
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!