Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- x = [1,2,3]
- y = [2,4,1]
- plt.plot(x, y)
- plt.xlabel('moja os x')
- plt.ylabel('moja os y')
- # giving a title to my graph
- plt.title('moj graf przedstawiajacy wartosci')
- # function to show the plot
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement