Re: [Matplotlib-users] Plot data from file while is file is constantly updated

2012-11-08 Thread francesco oteri
Hi, what about opening-closing the file every now and then, for example every 5seconds? you can do it using the function time(). It gives you the amount of time since I don't kno when, but you can count how many seconds are left using: a=time() while 1: b=time() left= b-a if left =

Re: [Matplotlib-users] autocorrelation question

2012-06-19 Thread francesco oteri
Hi bala, what is the input? How did you calculate it? Francesco 2012/6/19 Bala subramanian > Friends, > I want to plot the autocorrelation of my data as a function of time as > given in the following link, with autocorrelation coef in Y axis and Time > in x-axis. > > http://www.itl.nist.gov/div

Re: [Matplotlib-users] Matplotlib and Cpp

2012-04-28 Thread francesco oteri
Hi, if I understand well, you have a program producing data which usually are stored in a file, then you load such file into a matplotlib script. Your goal is trasfering data from your program to matplotlib. If this is the case you can follow two routes: 1) Modify the progam in order to print th

Re: [Matplotlib-users] 0.99.1 crashes python on Windows XP [SEC=UNCLASSIFIED]

2012-04-18 Thread francesco oteri
Hi Werner Il giorno 18 aprile 2012 16:00, Werner F. Bruhin ha scritto: > On 18/02/2010 22:41, Werner F. Bruhin wrote: > > Using numpy with "/arch nosse" solved the issue. > > > > Probably OT here, but does anyone know if numpy will in the future be > > able to dynamically switch on/off the SSEx

Re: [Matplotlib-users] variable data set plotting

2012-04-07 Thread Francesco Oteri
an do this: a.plot(x1, y1, 'g^', x2, y2, 'g-') But I would rather set up a loop: for file in sys.arv[1:]: ... #read your data plt.plot(xn,yn) Hope this helps. Guillaume Le 07/04/2012 10:36, Francesco Oteri a écrit : Dear Matplotlib users, I am trying

[Matplotlib-users] variable data set plotting

2012-04-07 Thread Francesco Oteri
Dear Matplotlib users, I am trying to write a script that read a variable number of data set like: script.py set0.dat set1.dat . setN.dat The problem rise in the method plt.plot() because I don't know how manage a variable number of argument. I am wondering wether exists something like: p