How to plot a geographical map from 0 to 360 degree of longitude
6 views (last 30 days)
Show older comments
I want to plot a map which contains the whole Pacific Ocean, but when I load the coastline of Matlab, I find that it starts from -180 to 180 degree which separate the Pacific into two parts, how can I plot the Pacific Ocean as a whole part with coastlines?
0 Comments
Answers (1)
Leon
on 11 Apr 2018
If you have the longitude and latitude values, all you need to do is to go through the longitude and convert it to a 20-380 system. That is, add 360 for any longitude <20.
2 Comments
Qu Ying
on 16 Apr 2018
Hi leon, thanks so much for your answer, plot the map from 20-380 is not difficult, here my problem is the coastlines, the longitude and latitude of the coastlines used is default by Matlab (from -180 to 180 lonitude), how to adjust the coastlines? Many thanks.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!