title: How to make a heat map with values given by coordinates in MATLAB?
body: <p>I have a <code>10018x3</code> matrix, where each row represents a measurement at a particular <code>(x, y)</code> coordinate. That is, the 1st column contains all the <code>x</code> values, the 2nd has all the <code>y</code> values, and the 3rd contains all the measurements.</p>
  
  <p><a href="http://justpaste.it/fd0f" rel="nofollow noreferrer">The matrix is available here.</a></p>
  
  <p>I now wish to plot the heat map of the measurements. How should I do that?</p>
  
  <hr>
  
  <p>My attempt, although maybe stupid, is to do <code>scatter3(x, y, z)</code>, which renders me this
  <img src="https://i.stack.imgur.com/0hg10.png" alt="enter image description here"></p>
  
  <p>Although I can see the trend, yet what I am wishing for is this.
  <img src="https://i.stack.imgur.com/Nf4yl.png" alt="enter image description here"></p>