title: How to plot a 3D heatmap or histogram over an image in matlab?
body: <p>I have this  type of data: </p>
  
  <pre><code>Data = [1:1:9; 1 2 3 4 5 6 7 8 9; 1 2 3 4 5 6 7 8 9 ;1 2 3 4 5 6 7 8 9;1 2 3 4 5 6 7 8 9]; 
  </code></pre>
  
  <p>Where the first entry is the zone of interest (9 zones total) and the remaining 4 array entries are how long something stayed in the zone (just arbitrary now for this question. </p>
  
  <p>I want to plot how long each thing is in each zone on a picture of a map as a 3d "heatmap" style plot. The map is divided into a 3x3 grid like so: </p>
  
  <pre><code>1 2 3 
  
  4 5 6
  
  7 8 9
  </code></pre>
  
  <p>How do I plot this? I have tried the contour and surf functions but I am not sure how I would map them to the grid. I would like to overlay the graph on a map picture as my final step but just getting the graph up and running would be great! </p>