title: 1D plot matplotlib
body: <p>I would like to plot in a single line ticks according to an array (up to 1000 elements). I would rather not to use something like:</p>
  
  <pre><code>    plt.xticks(energies[i][j])
  </code></pre>
  
  <p>because each sample value is written up below tick. I have looked extensively at Matplotlib documentation but didn't find nothing besides hist(). If you guys know other way to visualize 1D arrays into a single line I would very much appreciate, especially if it involves colors representing density of values.</p>
  
  <p>I'm using Spyder 2.2.5, Python 2.7.6 | 64-bit in OSX 10.7.4</p>