using python modules/sine.py
author amit
Thu, 28 Oct 2010 15:50:13 +0530
changeset 376 3e947a3fa83e
parent 261 c7f0069d698a
permissions -rw-r--r--
Added metadata for getting started with symbolics

from scipy import linspace, pi, sin
from pylab import plot, legend, show, title
from pylab import xlabel, ylabel

x = linspace(-2*pi,2*pi,100)
plot(x,sin(x))
legend(['sin(x)'])
title('Sine plot')
xlabel('x')
ylabel('sin(x)')
show()