title: Plotting a rectangle with colour representing a value in Matlab
body: <p>I would like to plot a number of rectangles, all of which have an associated value. I can plot points with values using <code>scatter(x,y,[],value);</code> but the <code>rectangle</code> function does not seem to have such functionality.</p>
  
  <p>Thank you</p>