How to shade an area below a set of points?

2 views (last 30 days)
Sofya
Sofya on 21 Jul 2014
Hi,
I have a question on shading an area determined by a set of points (blue points on the image) on the interpolated data.
This plot is surf(X,Y,F(X,Y)), where F(X,Y) is my interpolated data. Points in blue are minimum points Xmin and Ymin. I tried using fill(Xmin,Ymin,'b') or area(Ymin) but they don't help.
How should I go about constructing a matrix to be shaded and which command should I use to shade area below the set of points?
Thanks in advance for your help!
Best regards, Sofya

Answers (0)

Categories

Find more on Interpolation 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!