How can I plot a figure only inside the shape ?

For Example:
I ploted this figure:
I used contourf and geoshow to do this. But I need to plot only inside the shape, What is the function to do this ? (if exist!!) How can I do it ?

2 个评论

In which "shape" do you want to plot in?
So, If you saw the figure, you noticed that have a area delimited and out this area also are plotted (with colors). I need to plot only inside this area (painting only inside this area). Could you help me ?

请先登录,再进行评论。

回答(1 个)

See vec2mtx function and use some logical question (e.g. find) to verify if there is overlap between maps.

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by