Skip to content

Instantly share code, notes, and snippets.

@akira093
Created June 12, 2013 13:36
Show Gist options
  • Save akira093/5765300 to your computer and use it in GitHub Desktop.
Save akira093/5765300 to your computer and use it in GitHub Desktop.
#!/usr/bin/python
#coding:utf8
import pylab
x = []
y = []
with open("Sun0606.txt") as f:
for i in range(11):
f.readline()
for line in f:
x.append(float(line.split()[1]))
y.append(int(line.split()[3]))
pylab.plot(x, y)
pylab.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment