plot scientific data for one specific country

5 ビュー (過去 30 日間)
Johan
Johan 2014 年 4 月 14 日
回答済み: Kelly Kearney 2014 年 5 月 30 日
I want to plot satellite data for china using MATLABs mapping toolbox. I manage to do so for China and its surroundings, but I want to exclude all data and the parts of the map that do not belong to China from the plot. Does anyone have an idea how to do it?

回答 (2 件)

Chad Greene
Chad Greene 2014 年 5 月 30 日
If you have the outline of China's borders you could use inpolygon.

Kelly Kearney
Kelly Kearney 2014 年 5 月 30 日
The exact method would depend on the type of data (points? polygons?).
To get you started, I'd look at inpolygon, polybool, maptrimp, maptriml, and maptrims.

Community Treasure Hunt

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

Start Hunting!

Translated by