different vertical axes scales

I have two time series, {u_j} and {v_j}, with vastly different scales, but all sampled at the same times, {t_j}. Is there an easy way to plot the two on the same figure, with different vertical axes on the left and the right?

-gideon

Take a look at twinx – function doc and example links included below:

http://matplotlib.sourceforge.net/examples/api/two_scales.html

http://matplotlib.sourceforge.net/api/axes_api.html#matplotlib.axes.Axes.twinx

JDH

···

On Sat, May 2, 2009 at 5:00 PM, Gideon Simpson <simpson@…2186…> wrote:

I have two time series, {u_j} and {v_j}, with vastly different scales,

but all sampled at the same times, {t_j}. Is there an easy way to

plot the two on the same figure, with different vertical axes on the

left and the right?