version 1.65, 2011/10/13 01:54:12
|
version 1.67, 2011/10/19 00:20:28
|
Line 973 sub compare_rel {
|
Line 973 sub compare_rel {
|
|
|
sub addlog { |
sub addlog { |
my ($text)=@_; |
my ($text)=@_; |
|
$text=~s/\'/\\\'/g; |
$Apache::functionplotresponse::ruleslog.=$text.'<br />'; |
$Apache::functionplotresponse::ruleslog.=$text.'<br />'; |
} |
} |
|
|
Line 981 sub actualval {
|
Line 982 sub actualval {
|
return $xmin+$i/400.*($xmax-$xmin); |
return $xmin+$i/400.*($xmax-$xmin); |
} |
} |
|
|
|
sub fpr_val { |
|
my ($arg)=@_; |
|
return &actualval($Apache::functionplotresponse::functionplotrulelabels{$arg}, |
|
$Apache::functionplotresponse::fpr_xmin, |
|
$Apache::functionplotresponse::fpr_xmax); |
|
} |
|
|
sub fpr_f { |
sub fpr_f { |
my ($arg)=@_; |
my ($arg)=@_; |
return $Apache::functionplotresponse::func[&array_index($Apache::functionplotresponse::fpr_xmin, |
return $Apache::functionplotresponse::func[&array_index($Apache::functionplotresponse::fpr_xmin, |