I am using matlab to plot three data series.
e.g.
0.4545 0.7676 10
0.3232 0.5432 20
Lets say this is a 100 x 3 matrix. (Lets call it A, also it is sorted according to A(:,1) )The third column is an additional number which ranges from 1 to 100.
I am using MATLAB to do the following:
plot (A(:,1));
hold on;
plot (A(:,2));
I am using the property editor to represent data-series A(:,1) in line format and A(:,2) with additional marker [square i.e --rs option in plot].
My question is, how do I fill the squares according to data in the 3rd column ?
Basically how do i go about color coding the 2nd data-series according to data in 3d column ?
In the figure attached, how do i fill color into the squares by data in A(:,3)
Would it be possible to make a gradation in the color by making a gradient ?