In [1]:
%matplotlib inline
from pylab import *


ERROR: Line magic function `%mathplotlib` not found.
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-efb0ff82f211> in <module>()
      1 get_ipython().magic(u'mathplotlib inline')
----> 2 from pylab import *

ImportError: No module named pylab

In [2]:
xv = [1,2,3,4]; yv = [5,1,4,0]

In [3]:
plot(xv,yv)


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-3-db37a24b1ade> in <module>()
----> 1 plot(xv,yv)

NameError: name 'plot' is not defined

In [4]:
myplot = plot (xv, yv)


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-4-e94b9f0ed8eb> in <module>()
----> 1 myplot = plot (xv, yv)

NameError: name 'plot' is not defined

In [5]:
axis ([0.5,4.5,-0.5,5.5])


---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-5-d557dbe9f238> in <module>()
----> 1 axis ([0.5,4.5,-0.5,5.5])

NameError: name 'axis' is not defined

In [ ]:
ti=title('my own title')
xl=xlabel('time'); yl = ylabel ('values')