From: Darren D. <dsd...@gm...> - 2008-06-20 00:08:08
|
Hi Adam, On Thursday 19 June 2008 8:01:32 pm Adam Mercer wrote: > I'm trying to produce a single plot containing two different datasets > that share the same x-axis but different y-axes, i.e. I would like one > y-axis to be on the left of the plot and the other on the right hand > side. I've looked for example that illustrates how to do this but have > been unable to find an example. Can anyone point me to and example or > the appropriate methods that would allow me to do this? You are looking for two_scales.py, it is distributed with matplotlib's collection of examples: http://matplotlib.sourceforge.net/matplotlib_examples_0.98.0.zip Darren |