Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy as np
- import matplotlib.pyplot as plt
- %matplotlib notebook
- plt.rcParams [ 'figure.figsize' ] = ( 12 , 7)
- x = np.arange(-3, 3, 0.01)
- y = np.sin( np.pi*x )/(np.pi)
- plt.figure()
- plt.plot(x, y)
- plt.show()
Add Comment
Please, Sign In to add comment