Change color outside region of polyshape
Show older comments
I have gridded data between -40°S 0°S to 10°E to 45°E. I have manged to plot this data and add the borders of the countries over it. How can I mask the data that is plotted over the oceans. I only want to see the data over the land.
5 Comments
darova
on 20 Oct 2019
Can you exaplain more? You want just background?
David du Preez
on 20 Oct 2019
jonas
on 20 Oct 2019
Easily done with inpolygon function. Upload the data so people can help you.
David du Preez
on 20 Oct 2019
BN
on 4 Nov 2019
what is x and y in your data?
how to produce them?
Accepted Answer
More Answers (0)
Categories
Find more on Polygonal Shapes in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!