Numpy Define Array Dimensions Matlab Plot