Effacer les filtres
Effacer les filtres

How to recenter east-west hemisphere in netcdf plot while conserving the coordinates?

2 vues (au cours des 30 derniers jours)
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:
And I want to plot like this:
  2 commentaires
Dyuman Joshi
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.
Luis Jesús Olvera Lazcano
Hi! Thanks for your answer!
I will delete this question in a few days, as I discovered that I can change what the ticks say with xticklabel and yticklabel :) That way I can "trick" the coordinate system from 0 to 360 to showing actual orientation in °W-°E :)
Nevertheless, thanks for your interest in my question!

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by