PGanalyzeGraph.pl
These routines support the analysis of graphical input from students.
input: $pointDisplayString
return: (\@combined_intervals, \@values)
@values contains the y values of the function in order
@combined_intervals contains anonymous arrays of the form
[ $slope, $left_x, $right_x] indicating the gradient on that segment.
successive intervals will have different slopes.