title: Plot x-ticks in histogram matplotlib
body: <p>I would like to plot the corresponding x for a given name. 
  by that I mean, for <code>foo</code> it has to plot <code>[10,20,30]</code> in the form of a histogram and all foo, bar, baz need to be in the same <a href="http://upload.wikimedia.org/wikipedia/commons/c/c5/I8_3d_Histogram.PNG" rel="nofollow">graph</a>.(I don't require 3d :) )</p>
  
  <pre><code>import pylab as P
  name = ['foo', 'bar', 'baz']
  x  = [[10,20,30],[40,50,60],[70,80,90]]
  
  P.figure()
  P.hist(x, 10,  histtype='bar',
                  color=['crimson', 'burlywood', 'chartreuse'],
                  label=['Crimson', 'Burlywood', 'Chartreuse'])
  
  P.show()
  </code></pre>