Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import numpy as np
- t = np.arange(0.0, 2.0, 0.01)
- s = 1 + np.sin(2 * np.pi * t)
- plt.figure()
- plt.plot(t, s)
- plt.xlabel('time (s)')
- plt.ylabel('voltage (mV)')
- plt.title('About as simple as it gets, folks')
- plt.grid(True)
- plt.show()
- plt.plot(t, s)
- plt.xlabel('time (s)')
- plt.ylabel('voltage (mV)')
- plt.title('About as simple as it gets, folks')
- plt.grid(True)
- plt.show()
Add Comment
Please, Sign In to add comment