In drawBasisFunctionsWithParm, draw a vertical line from the point on the curve to the local X-axis.  Do this by implementing a new function called drawVerticalLineFromCurveForParm and calling it from drawBasisFunctionsWithParm.