Re: [Matplotlib-users] plot a moving point from an input file

2008-07-21 Thread John Hunter
On Mon, Jul 21, 2008 at 2:57 AM, Matthias Michler <[EMAIL PROTECTED]> wrote: > Hello Hussein, > > maybe the following example helps you. It uses the module 'time' to wait for > some seconds. A note of caution: this example will probably only work with tkagg. For other GUIs, like gtk, wx, or qt, yo

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-21 Thread Matthias Michler
Hello Hussein, maybe the following example helps you. It uses the module 'time' to wait for some seconds. regards Matthias --- "test.dat": -- #time x_coordinatey_coordinate 0.1 1 1 0.2

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-20 Thread charlesrkiss
How about this for a stationary point: from pylab import * def point(x,y): a=arange(x,x+1,1) b=arange(y,y+1,1) plot(a,b, 'ro', ms=3) show() This works for me. Load the module "point" Run it by typing point(x,y), where x and y are the coordinates you'd like to see in a plot, and a magical re

Re: [Matplotlib-users] plot a moving point from an input file

2008-07-20 Thread charlesrkiss
I would like to know how to plot a stationary point. Do you know how to plot a stationary point?? I will also be interested in plotting a moving point; so I'll be interested in this post. < I want to plot a moving point. The information comes from input file that include columens as bellow: #ti