How to recenter east-west hemisphere in netcdf plot while conserving the coordinates?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Its been a long time since Ive been trying to figure this out.
The thing is, matlab is not very good (at least with my current knowledge) at conserving usual coordinates (180°W-180°E) in a plot without changing the coordinates (for example, to recenter over the West Pacific, the whole meshgrid changes and became 0 to 360 instead of conserving the 180°W-180°E structure)
Does anyone know how to plot variables and recentering without changing the coordinates numbers?
What usually happens is this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1484192/image.png)
And I want to plot like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1484197/image.png)
2 commentaires
Dyuman Joshi
le 16 Sep 2023
So you want to select an area on the world map for a given range of coordinates?
Or you want to fix the orientation to 180°W-180°E?
It would be helpful if you can provide more information and if you can attach the code you are working with.
Réponses (0)
Voir également
Catégories
En savoir plus sur NetCDF dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!