High_Light

orbs

Dec 8th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. from matplotlib import pyplot as plt
  2. f = open ("out.txt","r")
  3. x=[]
  4. y=[]
  5. for line in f.readlines():
  6.     lst =  line.split()
  7.     x.append(float(lst[0]))
  8.     y.append(float(lst[1]))
  9. plt.plot(x,y,"ro")
  10. plt.show()
Add Comment
Please, Sign In to add comment