Hi all,

I have a text file as following;

0.200047        0.000000
0.200053        0.160000
0.200059        0.000000
0.200065        0.080000
0.200072        0.000000
0.200078        0.160000

And I am trying to plot it with ;

filenames = sys.argv[1:]
if len(filenames) == 0:
    filenames = [sys.stdin]
for filename in filenames:
    t,y1 = numpy.genfromtxt(filename, unpack=True)
    pyplot.plot(t,y1)
    pyplot.show()

But graph seems weird, not as it supposed to be. Any ideas ?


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to