[SciPy-User] pylab

Andreas lists at hilboll.de
Mon Jul 19 20:07:27 EDT 2010


> 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.







More information about the SciPy-User mailing list