from matplotlib.numerix import *
from numarray import *
from pylab import plot, subplot, legend, axis, xlabel, ylabel, text, show
Error.setMode(all=None, overflow='warn', underflow='ignore', dividebyzero='warn', invalid='warn')

plot([-1,0,1,2,3],[0,0,1,0,0])
axis([-1,3,-0.5,2])
xlabel('y')
ylabel('p(y)')
show()

