--- loncom/homework/functionplotresponse.pm 2010/11/24 02:53:13 1.47 +++ loncom/homework/functionplotresponse.pm 2010/11/24 15:30:45 1.48 @@ -1,7 +1,7 @@ # LearningOnline Network with CAPA # option list style responses # -# $Id: functionplotresponse.pm,v 1.47 2010/11/24 02:53:13 www Exp $ +# $Id: functionplotresponse.pm,v 1.48 2010/11/24 15:30:45 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -161,9 +161,11 @@ sub update_register { # Set a point coordinate variable # sub set_point_coordinate { - my ($id,$variable,$x,$y)=@_; + my ($id,$variable,$x,$y,$fixed)=@_; + my $mult=($fixed?'a*':''); return (<=2)) { $fixed=1; } # Now is the time to render all of the stored splines foreach my $label (keys(%Apache::functionplotresponse::splineorder)) { - $result.=&generate_spline($internalid,$label,$xmin,$xmax,$ymin,$ymax); + $result.=&generate_spline($internalid,$label,$xmin,$xmax,$ymin,$ymax,$fixed); } # close the init script $result.=&end_init_script();