Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. plt.subplot(111)
  2. line = plt.plot(t2, np.cos(2*t2*np.pi), lw=2)
  3. plt.grid()
  4. plt.annotate('local max', xy = (2,1), xytext = (3,1.5),
  5.             arrowprops = dict(facecolor='blue', shrink = 0.05))
  6. plt.ylim(-2,2)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement