In [1]:
import numpy
import matplotlib 
x = numpy.arange(0, 10, 0.1)
y = cos(x)

In [2]:
pyplot.plot(x,y)


Out[2]:
[<matplotlib.lines.Line2D at 0x1062d2d10>]

In [ ]: