There appears to be something wrong
with the way “val” is used in the first code section (if val==0:
val = 0 ?), unless it is modified externally somehow?
I would also suggest adding random values
or some such to make the test data non-periodic, so that it doesn’t always
look the same.
ray sa <bizag007@…9…>
Sent by: firstname.lastname@example.org
03/12/2007 09:50 AM
[Matplotlib-users] continuous plotting…
I am trying to use this application to plot a diagram from a log file that
is always active and storing data. I have written the following and I have
issues once I touch the figure window it freezes…
from pylab import *
val = 1
inData = load('c:\\data.txt')
x = inData[:,0]
y = inData[:,1]
if val == 1:
if val == 0:
val = 0
I am using the following program to create some dummy data:
for i in range(900):
for rad in sineVal:
fileData = open('c:\\data.txt','a')
fileData.write('%d' % int(i))
fileData.write('%f' % math.sin(rad))
tempArray = 
for i in range(0,360,180):
sineVal = makeArray()
You help and suggestion in the above matter will be most welcomed.
Never miss a thing. Make
Yahoo your homepage.
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
Matplotlib-users mailing list
This email message is the property of United Group. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorised. If you are not the intended recipient, you may not disclose, copy or distribute this email, nor take or omit to take any action in reliance on it. United Group accepts no liability for any damage caused by this email or any attachments due to viruses, interference, interception, corruption or unauthorised access.
If you have received this email in error, please notify United Group immediately by email to the sender’s email address and delete this document.