Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2.  
  3. x = [1,2,3]
  4. y = [2,4,1]
  5.  
  6. plt.plot(x, y)
  7.  
  8. plt.xlabel('moja os x')
  9. plt.ylabel('moja os y')
  10.  
  11. # giving a title to my graph
  12. plt.title('moj graf przedstawiajacy wartosci')
  13.  
  14. # function to show the plot
  15. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement