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 Comments

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 ?

Sign in to comment.

Answers (1)

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

Categories

Products

Asked:

on 6 May 2013

Community Treasure Hunt

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

Start Hunting!