Re: [Matplotlib-users] use matplotlib to produce mathathematical expression only

2011-05-17 Thread Johannes Radinger
Original-Nachricht > Datum: Mon, 16 May 2011 11:36:18 -0500 > Von: Benjamin Root > An: Johannes Radinger > CC: matplotlib-users@lists.sourceforge.net > Betreff: Re: [Matplotlib-users] use matplotlib to produce mathathematical > expression only > On Mon, May 16, 2011 at 11:22

Re: [Matplotlib-users] Feature request: automatic scaling of subplots, margins, etc

2011-05-17 Thread Jae-Joon Lee
Attached is a modified version of Tony's script. * no drawing is necessary * support subplots that span multiple rows/columns Please test it and let me know of any problem. I'm planning to push these functionality into matplolib after some refactoring (e.g., it would be good to have pyplot.tig

[Matplotlib-users] plot range affected by axvspan() call

2011-05-17 Thread Joachim Saul
All, I have stumbled upon a (for me) unexpected behaviour of axvspan(). import matplotlib.pylab as plt from numpy import * x = arange(1000) y = 0.2*sin(0.02*x) ax = plt.axes() plt.axvspan(250, 400, facecolor='g', alpha=0.2) plt.plot(x,y) plt.show() The displayed y range is -0.2 to 1, while f

[Matplotlib-users] adding some text

2011-05-17 Thread Neal Becker
I have several line graphs on a single plot. I'd like to indicate what is the mean of each of them (they are showing cumulative distributions). Each is a different color. I tried putting 'mean=xxx' into the legend. That works, but I think it's confusing. The legend normally displays independ

[Matplotlib-users] result in the graph

2011-05-17 Thread Waleria
Hello all, I have this code: http://dpaste.com/543369/ (part that generates the chart) . So i need to show a result in the graph, i have the line 69 (variable x_sqr) in code, i need to show tthe result of variable in the graph. How can i do this? Thank you Waléria

Re: [Matplotlib-users] result in the graph

2011-05-17 Thread Waleria
Where did you change in the code? Waléria On Tue, May 17, 2011 at 9:46 AM, Sathishkumar Duraisamy < flowers...@gmail.com> wrote: > On Tue, May 17, 2011 at 6:05 PM, Waleria wrote: > > Hello all, > > > > I have this code: http://dpaste.com/543369/ (part that generates the > chart) > > . So i need

[Matplotlib-users] Fwd: result in the graph

2011-05-17 Thread Scott Sinclair
-- Forwarded message -- From: Scott Sinclair Date: 17 May 2011 14:52 Subject: Re: [Matplotlib-users] result in the graph To: Waleria On 17 May 2011 14:35, Waleria wrote: > Hello all, > > I have this code: http://dpaste.com/543369/ (part that generates the chart) > . So i need t

Re: [Matplotlib-users] use matplotlib to produce mathathematical expression only

2011-05-17 Thread Benjamin Root
On Tue, May 17, 2011 at 2:58 AM, Johannes Radinger wrote: > > Original-Nachricht > > Datum: Mon, 16 May 2011 11:36:18 -0500 > > Von: Benjamin Root > > An: Johannes Radinger > > CC: matplotlib-users@lists.sourceforge.net > > Betreff: Re: [Matplotlib-users] use matplotlib to pro

Re: [Matplotlib-users] adding some text

2011-05-17 Thread Benjamin Root
On Tue, May 17, 2011 at 7:08 AM, Neal Becker wrote: > I have several line graphs on a single plot. I'd like to indicate what is > the > mean of each of them (they are showing cumulative distributions). > > Each is a different color. > > I tried putting 'mean=xxx' into the legend. That works, bu

[Matplotlib-users] latex just produces gibberish

2011-05-17 Thread Neal Becker
I have an old fedora 11 system. When I try to use latex math (e.g., $\mu=2$), it gives no error, but seems to produce gibberish (just ordinary ascii chars) in my pdf output. Any ideas how to debug? I found that a trivial 'hello_world.tex' could run through pdflatex OK. -

Re: [Matplotlib-users] latex just produces gibberish

2011-05-17 Thread Darren Dale
On Tue, May 17, 2011 at 2:05 PM, Neal Becker wrote: > I have an old fedora 11 system.  When I try to use latex math (e.g., $\mu=2$), > it gives no error, but seems to produce gibberish (just ordinary ascii chars) > in > my pdf output. > > Any ideas how to debug? Try using raw strings. If that do

Re: [Matplotlib-users] plot range affected by axvspan() call

2011-05-17 Thread Eric Firing
On 05/17/2011 01:53 AM, Joachim Saul wrote: > All, > > I have stumbled upon a (for me) unexpected behaviour of axvspan(). > > > import matplotlib.pylab as plt > from numpy import * > > x = arange(1000) > y = 0.2*sin(0.02*x) > > ax = plt.axes() > plt.axvspan(250, 400, facecolor='g', alpha=0.2) > plt