Numpy Need Help On Plotting This Piecewise Linear Interpolation Code

Numpy Need Help On Plotting This Piecewise Linear Interpolation Code