Python Numpy Array Functions Matlab Plot