Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import numpy as np
- x = np.arange(1,10)
- y = 2 * x
- plt.plot(x,y)
- plt.title('String title')
- plt.xlabel('X Axis')
- plt.ylabel('Y Axis')
- plt.xlim(1,10)
- plt.ylim(2,20)
- plt.show()
Add Comment
Please, Sign In to add comment