Write Large Numpy Array Multiplication Matlab Plot Legend