Ryan May wrote:
On Wed, May 6, 2009 at 8:53 AM, Robert Cimrman cimrm...@ntc.zcu.cz wrote:
Ryan May wrote:
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman cimrm...@ntc.zcu.cz
wrote:
Just for the record: Ryan May's example in this thread, that uses pipes,
inspired me to try pipes as well,
Robert Cimrman wrote:
Hi Ryan,
Ryan May wrote:
On Thu, Apr 23, 2009 at 4:16 PM, Esmail ebo...@hotmail.com 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
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman cimrm...@ntc.zcu.cz wrote:
Robert Cimrman wrote:
Hi Ryan,
Ryan May wrote:
On Thu, Apr 23, 2009 at 4:16 PM, Esmail ebo...@hotmail.com wrote:
Ryan May wrote:
Try this:
I'd like to see it ;
On Wed, May 6, 2009 at 8:57 AM, Robert Cimrman cimrm...@ntc.zcu.cz wrote:
Robert Cimrman wrote:
Hi Ryan,
Ryan May wrote:
On Thu, Apr 23, 2009 at 4:16 PM, Esmail ebo...@hotmail.com wrote:
Ryan May wrote:
Try this:
Ryan May wrote:
On Wed, May 6, 2009 at 7:57 AM, Robert Cimrman cimrm...@ntc.zcu.cz 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
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
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:
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
Hi Ryan,
Ryan May wrote:
On Thu, Apr 23, 2009 at 4:16 PM, Esmail ebo...@hotmail.com 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
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 spin
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]
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]
On Fri, Apr 24, 2009 at 5:52 AM, Esmail ebo...@hotmail.com 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
Ryan May wrote:
On Fri, Apr 24, 2009 at 5:52 AM, Esmail ebo...@hotmail.com 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
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
On Thu, Apr 23, 2009 at 1:04 PM, Esmail ebo...@hotmail.com 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
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 Python
On Thu, Apr 23, 2009 at 4:16 PM, Esmail ebo...@hotmail.com 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,
18 matches
Mail list logo