Some demo plotting along with the lectures

Today we're plotting $y = \cos(x)~~$ and hey you can insert latex into markdown, that's neat.


In [ ]:
x = linspace(1, 3*pi, 1000)
y = cos(x)

In [ ]:
plot(x,y)
plot(x,-y,'r--')

In [ ]:
subplot(2,1,1)
plot(x,y,'g')
subplot(2,1,2)
plot(x,-y,'r')

In [ ]: