Hi all,
I tried to use matplotlib to plot my data for the
first time.
Here is my script
···
===========================
import pylab
fout=pylab.load('..\mia.dat')
t=fout[:,0]
x=fout[:,1]
y=fout[:,2]
z=fout[:,3]
pylab.plot(t,x)
I got nothing and got the following message:
"[<matplotlib.lines.Line2D instance at 0x014362B0>]"
Please tell me what wrong is with my script.
Btw, when I typed fout, I got this
"array (18147,4) , type = d, has 72588 elements".
What is "d" ?
Thanks
Titi
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
try pylab.show() after the line “pylab.plot…”
···
On 2/14/06, Titi Anggono <tiang_ono@…9…> wrote:
Hi all,
I tried to use matplotlib to plot my data for the
first time.
Here is my script
===========================
import pylab
fout=pylab.load(‘…\mia.dat’)
t=fout[:,0]
x=fout[:,1]
y=fout[:,2]
z=fout[:,3]
pylab.plot(t,x)
I got nothing and got the following message:
“[<matplotlib.lines.Line2D instance at 0x014362B0>]”
Please tell me what wrong is with my script.
Btw, when I typed fout, I got this
“array (18147,4) , type = d, has 72588 elements”.
What is “d” ?
Thanks
Titi
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users