title: matplotlib: overlay plots with different scales?
body: <p>So far I have the following code:</p>
  
  <pre><code>colors = ('k','r','b')
  ax = []
  for i in range(3):
      ax.append(plt.axes())
      plt.plot(datamatrix[:,0],datamatrix[:,i],colors[i]+'o')
      ax[i].set(autoscale_on=True)
  </code></pre>
  
  <p>With the <code>autoscale_on=True</code> option for each axis, I thought each plot should have its own y-axis limits, but it appears they all share the same value (even if they share different axes). How do I set them to scale to show the range of each <code>datamatrix[:,i]</code> (just an explicit call to <code>.set_ylim()</code>?) And also, how can I create an offset y-axis for the third variable (<code>datamatrix[:,2]</code>) that might be required above? Thanks all.</p>