Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %matplotlib inline
- import numpy as np
- import matplotlib.pyplot as plt
- plt.rcParams['savefig.dpi']=140
- # create data
- x = np.arange(11)
- y = np.arange(11)**(3/4)
- # plot
- plt.plot(x, y, "m")
- plt.plot(x, y, 'wo',ms=12)
- plt.plot(x, y, 'go',ms=8)
- plt.savefig("m_l_duration.png",bbox_inches = 'tight', pad_inches = 0.1)
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement