How to extract a specific region from a data plot through a shapefile

There are two global data sets: (1) in netCDF file; (2) in .mat file. Have plotted these 2 data sets on the same map. How do I extract a region of interest from the map through the shapefile of that particular region?

 採用された回答

KSSV
KSSV 2022 年 10 月 17 日

1 投票

REad about inpolygon. Shout and say inpolygon today :).
You may refer the below link for a demo:

3 件のコメント

Dinuka Kankanige
Dinuka Kankanige 2022 年 10 月 20 日
Thank you very much. This helps solve it.
KSSV
KSSV 2022 年 10 月 20 日
Thanks is accepting/ voting the answer. :)
Dinuka Kankanige
Dinuka Kankanige 2022 年 10 月 20 日
Done. Sorry, I haven't done it in the first place

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by