Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-25 Thread Andreas Matthias
Benjamin Root wrote: > On Sunday, September 25, 2011, Andreas Matthias > wrote: >> Paul Ivanov wrote: >> >>> On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias >>> wrote: Hmm. I do not get a reversed list of axes. This is the output of the example code below: [, > ] [,

Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-25 Thread Benjamin Root
On Sunday, September 25, 2011, Andreas Matthias wrote: > Paul Ivanov wrote: > >> On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias >> wrote: >>> Hmm. I do not get a reversed list of axes. This is the output of >>> the example code below: >>> >>> [, ] >>> [, ] >> >> This doesn't seem right - for m

Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-25 Thread Andreas Matthias
Paul Ivanov wrote: > On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias > wrote: >> Hmm. I do not get a reversed list of axes. This is the output of >> the example code below: >> >> [, > object at 0x8f633ec>] >> [, > object at 0x8f633ec>] > > This doesn't seem right - for me that code results in

Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-24 Thread Paul Ivanov
On Sat, Sep 24, 2011 at 3:59 AM, Andreas Matthias wrote: > Hmm. I do not get a reversed list of axes. This is the output of > the example code below: > > [, object at 0x8f633ec>] > [, object at 0x8f633ec>] This doesn't seem right - for me that code results in: [, ] [, ] can you try explicitly

Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-24 Thread Andreas Matthias
Paul Ivanov wrote: > On Fri, Sep 23, 2011 at 2:08 PM, Andreas Matthias > wrote: >> In the following example the coordinates of the mouse >> cursor displayed in the pylab window belong to the >> second y-axis. But I would prefer to have the coordinates >> of the first y-axis to be displayed. Is th

Re: [Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-23 Thread Paul Ivanov
Hi Andreas, On Fri, Sep 23, 2011 at 2:08 PM, Andreas Matthias wrote: > In the following example the coordinates of the mouse > cursor displayed in the pylab window belong to the > second y-axis. But I would prefer to have the coordinates > of the first y-axis to be displayed. Is this possible? y

[Matplotlib-users] pylab, twinx, and displayed coordinates

2011-09-23 Thread Andreas Matthias
In the following example the coordinates of the mouse cursor displayed in the pylab window belong to the second y-axis. But I would prefer to have the coordinates of the first y-axis to be displayed. Is this possible? import pylab as mpl mpl.plot([1,3,2]) mpl.twinx() mpl.plot([400,50,100]) mpl.s