title: How to show color gradient on scatter plot in matlab?
body: <p>I have a scatter plot that will overlay several sets of data.  Each set of data currently displays as the next color in the default colormap.  This is my code right now:</p>
  
  <pre><code>figure
  hold on
  for i=1:10
     scatter(RunRawArea(i,:), RunRawNetLength(i,:));
  end
  hold off
  </code></pre>
  
  <p>What i would like is to color code each set of data (indexed by i) to be the next color on a gradient.  For example, the data for i=1 would be blue, i=5 would be purple, and i=10 would be red.</p>
  
  <p>How could I do this?</p>