4od6ka
Last Updated: June 24, 2016
·
16
· mtpain
None

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

Say Thanks
Respond