Last Updated: June 24, 2016
·
110
· mtpain

Plot Sin

This is my first post on Coderwall. I think I'll use this for my programming blog posts.

import matplotlib.pyplot as plt
import numpy as np

goodstuff = np.arange(-np.pi, np.pi, 0.01)
s = np.sin(goodstuff)

plt.plot(goodstuff, s)

yay