|
From: Paul H. <pmh...@gm...> - 2014-02-14 20:36:22
|
Hey Gabriele, See this example here: http://stackoverflow.com/questions/14762181/adding-a-y-axis-label-to-secondary-y-axis-in-matplotlib/14762601#14762601 On Fri, Feb 14, 2014 at 12:32 PM, Gabriele Brambilla < gb....@gm...> wrote: > Hi, > > I'm trying to plot two functions on the same errorbar picture like the > code below: > > fmlp = plt.figure() > > axop = fmlp.add_subplot(111) > > insp = axop.errorbar(g, Pampli, yerr = ePampli, fmt = '.') > ins1 = axop.errorbar(g, lightcurva, yerr = zeros, fmt = 'x') > > axop.set_title('amplitudes for phases') > > fmlp.canvas.draw() > > but the two functions has a very different range in y values (one near > 10^-15 one near 1): how could I use two different scale (one per function) > on the same plot? > > thanks > > > ------------------------------------------------------------------------------ > Android apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |