I am trying to make a plot with pylab / matplotlib, and I have two different sets of units for the x axis. So I would like the plot to have two axes with different ticks, one on top and one on the bottom. (For example, one with miles and one with a kilometer or so).
Something like the graph below (but I would like a few X axes, but that doesn't really matter.)

Does anyone know if this is possible with pylab?
source
share