title: How to display labels above a histogram bin?
body: <p>I have an array <code>a(30,2)</code> where the first column is a unique sample number and the second column is a value assigned to the sample. I plot a histogram of the 2nd column:</p>
  
  <pre><code>hist(a(:,2))
  </code></pre>
  
  <p>I have <code>N</code> bins and the y-axis tells me how many samples have a value of x,
  but no information about which samples are in which bin.</p>
  
  <p>How do I plot, above each bin, a list of samples (the number from the first column of my array <code>a</code>) that fall into each bin?</p>