> works fine. But what if I have one or more data points missing in my y data set? like this >> x = [1,2,3,4] >> y=[10,20, ,40] >> pylab.plot(x,y) >> pylab.show() take a look at numpy.masked_array. matplotlib can handle masked arrays. cheers, a.