Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from matplotlib import pyplot as plt
- f = open ("out.txt","r")
- x=[]
- y=[]
- for line in f.readlines():
- lst = line.split()
- x.append(float(lst[0]))
- y.append(float(lst[1]))
- plt.plot(x,y,"ro")
- plt.show()
Add Comment
Please, Sign In to add comment