Plot seems weird
Yigit Turgut
y.turgut at gmail.com
Sun Dec 25 10:33:23 EST 2011
More information about the Python-list mailing list
Sun Dec 25 10:33:23 EST 2011
- Previous message (by thread): Random string of digits?
- Next message (by thread): Plot seems weird
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ?
- Previous message (by thread): Random string of digits?
- Next message (by thread): Plot seems weird
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list