Ryan May wrote:
> On Thu, May 7, 2009 at 12:39 PM, Eric Firing wrote:
>
>> In case you are not receiving the automatic svn commit messages: yesterday
>> I took the liberty of renaming log.py to multiprocess.py, because as far as
>> I could see the former gave no clue as to the point of the exampl
On Thu, May 7, 2009 at 12:39 PM, Eric Firing wrote:
> In case you are not receiving the automatic svn commit messages: yesterday
> I took the liberty of renaming log.py to multiprocess.py, because as far as
> I could see the former gave no clue as to the point of the example. Feel
> free to chan
Robert Cimrman wrote:
> Ryan May wrote:
>> On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman
>> wrote:
>>
>>> Ryan May wrote:
In case you are not receiving the automatic svn commit messages:
yesterday I took the liberty of renaming log.py to multiprocess.py,
because as far as I could see the form
Ryan May wrote:
On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman wrote:
Ryan May wrote:
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman
wrote:
Just for the record: Ryan May's example in this thread, that uses pipes,
inspired me to try pipes as well, instead of queues
(multiprocessing.Pipe in
On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman wrote:
> Ryan May wrote:
>
>> On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman
>> wrote:
>>
>>>
>>> Just for the record: Ryan May's example in this thread, that uses pipes,
>>> inspired me to try pipes as well, instead of queues
>>> (multiprocessing.P
william ratcliff wrote:
I'd like to see it ;>
Here you are...
r.
import time
from multiprocessing import Process, Pipe
from Queue import Empty
import numpy as np
import pylab
import gobject
class ProcessPlotter(object):
def __init__(self):
self.x = []
self.y = []
def
Ryan May wrote:
> On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman wrote:
>>
>> Just for the record: Ryan May's example in this thread, that uses pipes,
>> inspired me to try pipes as well, instead of queues
>> (multiprocessing.Pipe instead of Queue) and the "hanging problem", i.e.
>> the problem th
I'd like to see it ;>
On Wed, May 6, 2009 at 8:57 AM, Robert Cimrman wrote:
> Robert Cimrman wrote:
> > Hi Ryan,
> >
> > Ryan May wrote:
> >> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
> >>
> >>> Ryan May wrote:
> Try this:
>
>
> >>>
> http://matplotlib.sourceforge.net/exampl
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman wrote:
> Robert Cimrman wrote:
> > Hi Ryan,
> >
> > Ryan May wrote:
> >> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
> >>
> >>> Ryan May wrote:
> Try this:
>
>
> >>>
> http://matplotlib.sourceforge.net/examples/animation/simple_ani
Robert Cimrman wrote:
> Hi Ryan,
>
> Ryan May wrote:
>> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
>>
>>> Ryan May wrote:
Try this:
>>> http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html
(If not gtk, there are other examples there.)
>>> Thanks Ryan,
Ryan May wrote:
>
> I was curious, so I cooked up a quick demo using two scripts. Put them
> in the same directory and run datasource.py. It's not perfect, and I
> think the use of raw_input() is a little odd, but it works.
Very cool Ryan, thanks for doing that, I plan on studying your code
Robert Cimrman wrote:
>
>>
>> Sounds interesting, but I get a "page not found 404" type error when
>> I follow this link.
>
> Strange, it does work for me. Alternatively, just search
> "[Matplotlib-users] plotting in a separate process" in google...
Thanks Robert, I'll give that a try.
Esmail
Ryan May wrote:
> On Fri, Apr 24, 2009 at 5:52 AM, Esmail wrote:
>
>> Ryan May wrote:
>>> Any idea if it's possible to finish a Python program but still have
>> the
>>> graph showing?
>>>
>>> FWIW, I'm doing this under Linux.
>>>
>>>
>>> You'd have to run the plotting in a separate pr
On Fri, Apr 24, 2009 at 5:52 AM, Esmail wrote:
> Ryan May wrote:
> >
> > Any idea if it's possible to finish a Python program but still have
> the
> > graph showing?
> >
> > FWIW, I'm doing this under Linux.
> >
> >
> > You'd have to run the plotting in a separate process from the
> >
Esmail wrote:
> Robert Cimrman wrote:
>> This is exactly what I have tried/described in [1], using the
>> multiprocessing module. It sort of works, but I have that hanging
>> problem at the end - maybe somebody jumps in and helps this time :)
>>
>> r.
>>
>> [1]
>> http://www.mail-archive.com/mat
Robert Cimrman wrote:
>
> This is exactly what I have tried/described in [1], using the
> multiprocessing module. It sort of works, but I have that hanging
> problem at the end - maybe somebody jumps in and helps this time :)
>
> r.
>
> [1]
> http://www.mail-archive.com/matplotlib-users@lists
Ryan May wrote:
>
> Any idea if it's possible to finish a Python program but still have the
> graph showing?
>
> FWIW, I'm doing this under Linux.
>
>
> You'd have to run the plotting in a separate process from the
> computation. subprocess would let you do that, assuming you can
Hi Ryan,
Ryan May wrote:
> On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
>
>> Ryan May wrote:
>>> Try this:
>>>
>>>
>> http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html
>>> (If not gtk, there are other examples there.)
>> Thanks Ryan, that'll give me some idea with regar
On Thu, Apr 23, 2009 at 4:16 PM, Esmail wrote:
> Ryan May wrote:
> >
> > Try this:
> >
> >
> http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html
> >
> > (If not gtk, there are other examples there.)
>
> Thanks Ryan, that'll give me some idea with regard to the animation,
> a
Ryan May wrote:
>
> Try this:
>
> http://matplotlib.sourceforge.net/examples/animation/simple_anim_gtk.html
>
> (If not gtk, there are other examples there.)
Thanks Ryan, that'll give me some idea with regard to the animation,
and real-time drawings.
Any idea if it's possible to finish a Pytho
On Thu, Apr 23, 2009 at 1:04 PM, Esmail wrote:
> Hi,
>
> I have two quick questions:
>
> 1. Is it possible to exit a Python program but still have the graph
> window generated by pylot remain visible? Right now the program stops
> when I display the (only) final graph. When I close this window, t
Hi,
I have two quick questions:
1. Is it possible to exit a Python program but still have the graph
window generated by pylot remain visible? Right now the program stops
when I display the (only) final graph. When I close this window, the
program exits. I would like to finish the program, but hav
22 matches
Mail list logo