Drawing the gradient function of a parabola