On Sat, May 2, 2009 at 5:00 PM, Gideon Simpson <simp...@math.toronto.edu>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?
>
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
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users