added linear and quadratic interp. plot