Re: [Matplotlib-users] How to draw a curve until it intersects another curve

2012-05-31 Thread Stan West
> From: Jerzy Karczmarczuk [mailto:jerzy.karczmarc...@unicaen.fr] > Sent: Sunday, May 27, 2012 12:56 > > Gordon Hardmant : > > I ...cannot find a simple way to stop a curve being drawn once it crosses > > another curve. In the attached example, I am trying to draw the solid > > curve only until i

Re: [Matplotlib-users] question about example of override the default reporting of coords

2012-05-31 Thread Michael Droettboom
On 05/31/2012 10:12 AM, Tony Yu wrote: On Thu, May 31, 2012 at 10:03 AM, Mark Bakker > wrote: OK. Got it. That is not what I was looking for. But, why the leading $ sign? Just as an example? The $ sign shows up in the cursor coordinate now. Is that what

Re: [Matplotlib-users] question about example of override the default reporting of coords

2012-05-31 Thread Tony Yu
On Thu, May 31, 2012 at 10:03 AM, Mark Bakker wrote: > OK. Got it. That is not what I was looking for. > > But, why the leading $ sign? Just as an example? The $ sign shows up in > the cursor coordinate now. Is that what was supposed to happen (it is > confusing with the $ sign also being used fo

Re: [Matplotlib-users] question about example of override the default reporting of coords

2012-05-31 Thread Mark Bakker
OK. Got it. That is not what I was looking for. But, why the leading $ sign? Just as an example? The $ sign shows up in the cursor coordinate now. Is that what was supposed to happen (it is confusing with the $ sign also being used for mathtext formatting, as you know). Thanks, Mark On Thu, May

Re: [Matplotlib-users] question about example of override the default reporting of coords

2012-05-31 Thread Tony Yu
On Thu, May 31, 2012 at 9:31 AM, Mark Bakker wrote: > I looked at the example of overriding the default reporting of coords, > which is here: > > http://matplotlib.sourceforge.net/examples/pylab_examples/coords_report.html > > from pylab import * > > def millions(x): > return '$%1.1fM' % (x*1e-6)

[Matplotlib-users] question about example of override the default reporting of coords

2012-05-31 Thread Mark Bakker
I looked at the example of overriding the default reporting of coords, which is here: http://matplotlib.sourceforge.net/examples/pylab_examples/coords_report.html from pylab import * def millions(x): return '$%1.1fM' % (x*1e-6) x = rand(20) y = 1e7*rand(20) ax = subplot(111) ax.fmt_ydata = mill

Re: [Matplotlib-users] how does imshow() represent numpy array with origin = "lower" keyword ?

2012-05-31 Thread Fabrice Silva
Le jeudi 31 mai 2012 à 09:31 +0300, Yasin Selçuk Berber a écrit : > im getting that result. > but just wanted to know, could "takes first row and put it most > bottomthen take secondetc" expression be accepted as harmless or > not. Seems to, it depends on the interpretation of the expressi