title: use marker fill colors according to data value in MATLAB
body: <p>I am using matlab to plot three data series. 
  e.g. </p>
  
  <pre><code>0.4545 0.7676 10
  0.3232 0.5432 20
  </code></pre>
  
  <p>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:  </p>
  
  <pre><code>plot (A(:,1));
  hold on;
  plot (A(:,2));
  </code></pre>
  
  <p>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].</p>
  
  <p>My question is, how do I fill the squares according to data in the 3rd column ? </p>
  
  <p>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 ?</p>
  
  <p>Please help. Thanks. </p>
  
  <p><img src="https://i.stack.imgur.com/um7gT.jpg" alt="Dataseries A(:,1) as red line, A(:,2) as blue squares"></p>