How to plot a geographical map from 0 to 360 degree of longitude

7 visualizzazioni (ultimi 30 giorni)
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?

Risposte (1)

Leon
Leon il 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 Commenti
Qu Ying
Qu Ying il 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.
Mustapha Adamu
Mustapha Adamu il 14 Giu 2022
@Qu Ying did find answer to the coastline, facing similar problem.

Accedi per commentare.

Categorie

Scopri di più su 地理图 in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!