title: How to arrange the data for a heatmap pcolormesh?
body: <p>All the examples I've been turning up use random data.  My problem is arranging my actual data to fit the solution.</p>
  
  <p>I'm trying to create a heatmap/scatterplot of x,y,z: x and y are the position, whilst z is the color. 
  They're in three arrays of equal length.</p>
  
  <pre><code>X = [-0.11, -0.06, -0.07, -0.12, ...]
  Y = [0.09, 0.13, 0.17, 0.09, ...]
  Z = [0.38, 0.37, 0.44, 0.33, ...]
  </code></pre>
  
  <p>The <a href="http://matplotlib.org/api/pyplot_api.html#matplotlib.pyplot.pcolormesh" rel="nofollow">pcolormesh documentation</a> doesn't seem to describe what "C" is other than to say it can be a "masked array".  Sadly I don't know what that is either (yet).</p>
  
  <p>How do I turn my three arrays into whatever it's looking for? I tried sticking them into a numpy array and passing that, which quieted the error about no "shape", but a three dimensional array doesn't seem to be what it's looking for.</p>