フィルターのクリア

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
Luis Jesús Olvera Lazcano 2023 年 9 月 16 日
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 件)

カテゴリ

Help Center および File ExchangeNetCDF についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by