#!/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()
[(6, 'numpy.arange', 'np.arange', (['(0.0)', '(3.0)', '(0.01)'], {}), True, 'import numpy as np\n'), (7, 'numpy.sin', 'np.sin', (['(2.5 * np.pi * t)'], {}), True, 'import numpy as np\n'), (8, 'matplotlib.pyplot.plot', 'plt.plot', (['t', 's'], {}), True, 'import matplotlib.pyplot as plt\n'), (10, 'matplotlib.pyplot.xlabel', 'plt.xlabel', (['"""time (s)"""'], {}), True, 'import matplotlib.pyplot as plt\n'), (11, 'matplotlib.pyplot.ylabel', 'plt.ylabel', (['"""voltage (mV)"""'], {}), True, 'import matplotlib.pyplot as plt\n'), (13, 'matplotlib.pyplot.title', 'plt.title', (['"""Sine Wave"""'], {}), True, 'import matplotlib.pyplot as plt\n'), (14, 'matplotlib.pyplot.grid', 'plt.grid', (['(True)'], {}), True, 'import matplotlib.pyplot as plt\n'), (16, 'matplotlib.pyplot.show', 'plt.show', ([], {}), True, 'import matplotlib.pyplot as plt\n')]