#!/usr/bin/python3

import numpy as np
import matplotlib.pyplot as plt

t = np.arange(0.0, 3.0, 0.01)
s = np.sin(2.5 * np.pi * t)
plt.plot(t, s)

plt.xlabel('time (s)')
plt.ylabel('voltage (mV)')

plt.title('Sine Wave')
plt.grid(True)

plt.show()
[((76, 101), 'numpy.arange', 'np.arange', (['(0.0)', '(3.0)', '(0.01)'], {}), '(0.0, 3.0, 0.01)\n', (85, 101), True, 'import numpy as np\n'), ((106, 129), 'numpy.sin', 'np.sin', (['(2.5 * np.pi * t)'], {}), '(2.5 * np.pi * t)\n', (112, 129), True, 'import numpy as np\n'), ((130, 144), 'matplotlib.pyplot.plot', 'plt.plot', (['t', 's'], {}), '(t, s)\n', (138, 144), True, 'import matplotlib.pyplot as plt\n'), ((146, 168), 'matplotlib.pyplot.xlabel', 'plt.xlabel', (['"""time (s)"""'], {}), "('time (s)')\n", (156, 168), True, 'import matplotlib.pyplot as plt\n'), ((169, 195), 'matplotlib.pyplot.ylabel', 'plt.ylabel', (['"""voltage (mV)"""'], {}), "('voltage (mV)')\n", (179, 195), True, 'import matplotlib.pyplot as plt\n'), ((197, 219), 'matplotlib.pyplot.title', 'plt.title', (['"""Sine Wave"""'], {}), "('Sine Wave')\n", (206, 219), True, 'import matplotlib.pyplot as plt\n'), ((220, 234), 'matplotlib.pyplot.grid', 'plt.grid', (['(True)'], {}), '(True)\n', (228, 234), True, 'import matplotlib.pyplot as plt\n'), ((236, 246), 'matplotlib.pyplot.show', 'plt.show', ([], {}), '()\n', (244, 246), True, 'import matplotlib.pyplot as plt\n')]