Re: [Matplotlib-users] matplotlib and interactive use

2007-08-20 Thread Bill Baxter
Did you try raw_input("hit enter") ? On 8/21/07, Wolfgang Kerzendorf <[EMAIL PROTECTED]> wrote: > Hello, > > I am currently writing a data reduction program. I want to use pylab in > a script and use interactive input of pylab. The problem is that in > ipython -pylab the script just keeps goin

[Matplotlib-users] matplotlib and interactive use

2007-08-20 Thread Wolfgang Kerzendorf
Hello, I am currently writing a data reduction program. I want to use pylab in a script and use interactive input of pylab. The problem is that in ipython -pylab the script just keeps going without waiting for input (I have just tested it by plotting something but did not do cid=connect). In i

Re: [Matplotlib-users] HOW TO: have multiple plot windows open at the same time?

2007-08-20 Thread Bill Baxter
On 8/21/07, Geoffrey Zhu <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I just started to use pylab, and there are two issues I can't figure > out a way to get around. > > 1. show() does not return until I close the plot window. This makes it > impossible to show multiple plots at the same time. How

Re: [Matplotlib-users] HOW TO: have multiple plot windows open at the same time?

2007-08-20 Thread Angus McMorland
On 21/08/07, Geoffrey Zhu <[EMAIL PROTECTED]> wrote: > Hi Everyone, > > I just started to use pylab, and there are two issues I can't figure > out a way to get around. > > 1. show() does not return until I close the plot window. This makes it > impossible to show multiple plots at the same time. Ho

[Matplotlib-users] HOW TO: have multiple plot windows open at the same time?

2007-08-20 Thread Geoffrey Zhu
Hi Everyone, I just started to use pylab, and there are two issues I can't figure out a way to get around. 1. show() does not return until I close the plot window. This makes it impossible to show multiple plots at the same time. How can I show multiple plots? 2. How can I get a handle or object

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
[snip] > Are you aware that the plot method can plot the columns of > 2-D arrays? > Any kwargs apply to all the lines. When plot does this, it > makes a list of lines, not a line collection, so it is > similar to looping over a set of single plot commands. There > is no particular speed adv

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Eric Firing
Anthony M. Floyd wrote: >> -Original Message- >> From: Eric Firing [mailto:[EMAIL PROTECTED] > > [snip] > >> It probably comes down to program simplicity and readability, >> not speed, in your case. >> >> Eric > > > Hi Eric, > > Thanks for this. That's essentially the decision I had

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
> -Original Message- > From: Eric Firing [mailto:[EMAIL PROTECTED] [snip] > It probably comes down to program simplicity and readability, > not speed, in your case. > > Eric Hi Eric, Thanks for this. That's essentially the decision I had reached, but I was also wondering if I'd mis

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Eric Firing
Anthony, When I do a quick test of line_collection.py versus a modification that makes individual plot calls, with the results written to a png file, I get about 1.05 s with the collection and 1.2 s with the lines. But a trivial plot still takes 0.52 seconds, so if you subtract out this gener

[Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
I'm trying to figure out the best way to handle the following situation: I have a wxApp that embeds a matplotlib figure in a panel. I use custom code to control adding and removing series from the axes in this figure, with some pretty fine grained control on when things get drawn, zoomed, etc. To

Re: [Matplotlib-users] erasing the figure border

2007-08-20 Thread Johann Cohen-Tanugi
That did it. thanks! Eric Firing wrote: > Johann Cohen-Tanugi wrote: >> hello, >> I am using matplotlib to make a drawing, so though I am using >> distances on the pad I do not need to display the axes and would >> rather have no frame and no tick. >> To achieve this, I tried using : >> rc('axes

Re: [Matplotlib-users] erasing the figure border

2007-08-20 Thread Eric Firing
Johann Cohen-Tanugi wrote: > hello, > I am using matplotlib to make a drawing, so though I am using distances > on the pad I do not need to display the axes and would rather have no > frame and no tick. > To achieve this, I tried using : > rc('axes', edgecolor='white') If your axes instance is "

Re: [Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-20 Thread John Travers
On 20/08/07, Darren Dale <[EMAIL PROTECTED]> wrote: > On Monday 20 August 2007 12:11:30 pm Samuel M.Smith wrote: > > I can only generate .eps files that will successfully distill > > into .pdf files when I use > > > > ps.usedistiller : xpdf > > not > > ps.usedistiller : ghostscript > > nor > >

Re: [Matplotlib-users] erasing the figure border

2007-08-20 Thread Alan G Isaac
On Mon, 20 Aug 2007, Johann Cohen-Tanugi apparently wrote: > I am sure there is a > better way to do that Set the ticks to an empty tuple. hth, Alan Isaac - This SF.net email is sponsored by: Splunk Inc. Still grepping

[Matplotlib-users] erasing the figure border

2007-08-20 Thread Johann Cohen-Tanugi
hello, I am using matplotlib to make a drawing, so though I am using distances on the pad I do not need to display the axes and would rather have no frame and no tick. To achieve this, I tried using : rc('axes', edgecolor='white') rc('xtick', color='white') rc('ytick', color='white') The first c

Re: [Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-20 Thread Darren Dale
On Monday 20 August 2007 12:11:30 pm Samuel M.Smith wrote: > I can only generate .eps files that will successfully distill > into .pdf files when I use > > ps.usedistiller : xpdf > not > ps.usedistiller : ghostscript > nor > ps.usedistiller : None > > Is this a known problem? > ghostscript

[Matplotlib-users] XPDF works but Ghostscript Doesn't for .eps

2007-08-20 Thread Samuel M . Smith
I can only generate .eps files that will successfully distill into .pdf files when I use ps.usedistiller : xpdf not ps.usedistiller : ghostscript nor ps.usedistiller : None Is this a known problem? ghostscript does work fine for .ps files just not .eps In addition when ever I save a .