Re: [Matplotlib-users] Pydee v0.3.0

2009-03-10 Thread Jonathan Taylor
This looks very cool. I will check it out. Thanks, J. On Tue, Mar 10, 2009 at 5:19 PM, Pierre Raybaut wrote: > Hi all, > > Two months ago, I made an announcement regarding a little open-source > project of mine, PyQtShell -- that is a module providing embeddable > console widgets for your PyQt

Re: [Matplotlib-users] Common ylabel for subplots

2009-03-10 Thread Jonathan Taylor
I don't know if there is a betteer way to do it, but I think you can just attach a text artist to the figures canvas. Best, J. On Mon, Mar 9, 2009 at 12:15 PM, Gökhan SEVER wrote: > Hello, > > I have six subplots in my canvas, and wondering how to place a common ylabel > into the canvas in matpl

Re: [Matplotlib-users] Pause/waitforbuttonpress behavior.

2009-03-09 Thread Jonathan Taylor
stead of a python thread which is a side effect of being part of the python distribution. I think. Jon. On Mon, Mar 9, 2009 at 4:13 PM, Sandro Tosi wrote: > On Sun, Mar 8, 2009 at 21:03, Jonathan Taylor > wrote: >> Wow... changing to TkAgg backend makes raw_input() just work.  I >

Re: [Matplotlib-users] Pause/waitforbuttonpress behavior.

2009-03-08 Thread Jonathan Taylor
Wow... changing to TkAgg backend makes raw_input() just work. I suppose this is because the Tk thread does not need the GIL to render? Is there a downside to using TkAgg? I am also noticing that it is much faster than GtkAgg. Jon. On Sun, Mar 8, 2009 at 2:55 PM, Jonathan Taylor wrote: >

[Matplotlib-users] Pause/waitforbuttonpress behavior.

2009-03-08 Thread Jonathan Taylor
Hi, I am looking to have ipython pause to show me a figure and wait for me to press a key before it updates the figure. I see that raw_input() does not let the figure update presumably because it blocks the gui thread. On the other hand, pylab.waitforbuttonpress works but only takes keys that we

Re: [Matplotlib-users] making (very simple) Venn diagrams?

2009-03-02 Thread Jonathan Taylor
Try this: from matplotlib import pyplot as plt from matplotlib.patches import Circle f = plt.figure() ax = f.gca() rad = 1.4 c1 = Circle((-1,0),rad, alpha=.2, fc ='red') c2 = Circle((1,0),rad, alpha=.2, fc ='blue') c3 = Circle((0,1),rad, alpha=.2, fc ='green') ax.add_patch(c1) ax.add_patch(c2) ax

[Matplotlib-users] Why do I need to call show with ipython -pylab

2009-02-28 Thread Jonathan Taylor
Hi, I have a simple script that plots x,y vals in an animation called anim.py data = read('data.dat') for i in range(10): plot(data[:,0], data[:,1]) I am using ipython -pylab but when I do run anim.py it doesn't show anything until I say show(). On the other hand, if I do one of these plot

Re: [Matplotlib-users] 3d bar plots

2006-06-01 Thread Jonathan Taylor
Thanks for all the replies -- I'm not such a huge fan, either, but a collaborator of mine is -- Jonathan John Hunter wrote: >>>>>>"Jonathan" == Jonathan Taylor <[EMAIL PROTECTED]> writes: >>>>>> >>>>>> &

[Matplotlib-users] 3d bar plots

2006-06-01 Thread Jonathan Taylor
Hi, Was wondering if anyone knows if there was any way to reproduce this kind of example: http://www.mps.mpg.de/dislin/exa_bars3d.html i.e. a 3d barplot. Thanks, Jonathan begin:vcard fn:Jonathan Taylor n:Taylor;Jonathan org:Stanford University;Statistics adr:;;390 Serra Mall;Stanford;CA;94

Re: [Matplotlib-users] First impression from a new user

2006-06-01 Thread Jonathan Taylor
- I'm part of the Team in Training: please support our efforts for the Leukemia and Lymphoma Society! http://www.active.com/donate/tntsvmb/tntsvmbJTaylor GO TEAM !!! -------- Jonathan Taylor