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?

 Réponse acceptée

KSSV
KSSV le 17 Oct 2022
REad about inpolygon. Shout and say inpolygon today :).
You may refer the below link for a demo:

3 commentaires

Thank you very much. This helps solve it.
Thanks is accepting/ voting the answer. :)
Done. Sorry, I haven't done it in the first place

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by