shade area in a plot between x and y according to the value

1 view (last 30 days)
NA
NA on 21 Jun 2021
Commented: NA on 26 Jun 2021
I want to plot this picture
These are the data I have
x = [4.5;5;5.5;6;7;8;9;10];
y = (1:7)';
val = (0.1:0.1:1)';
Here is the sample of above data. Size of data is 7*7
Y X value
--------------
data = [1, 4.5, 0.1;
...
2, 5, 0.2;
6, 5.5, 1;
7, 10, 0.5];
I do not know how to shade the area according to the value.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by