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

2 次查看(过去 30 天)
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 个评论
Dyuman Joshi
Dyuman Joshi 2023-9-16
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!

请先登录,再进行评论。

回答(0 个)

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by