Guest User

Untitled

a guest
Jun 24th, 2018
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. import numpy as np
  2. import matplotlib.pyplot as plt
  3.  
  4. %matplotlib notebook
  5. plt.rcParams [ 'figure.figsize' ] = ( 12 , 7)
  6.  
  7. x = np.arange(-3, 3, 0.01)
  8. y = np.sin( np.pi*x )/(np.pi)
  9.  
  10. plt.figure()
  11. plt.plot(x, y)
  12. plt.show()
Add Comment
Please, Sign In to add comment