version 1.136, 2011/11/18 16:39:22
|
version 1.138, 2011/11/22 02:13:37
|
Line 434 sub insert_functionplotrule {
|
Line 434 sub insert_functionplotrule {
|
<functionplotrule />'; |
<functionplotrule />'; |
} |
} |
|
|
|
sub insert_functionplotvectorrule { |
|
return ' |
|
<functionplotvectorrule />'; |
|
} |
|
|
|
sub insert_functionplotvectorsumrule { |
|
return ' |
|
<functionplotvectorsumrule />'; |
|
} |
|
|
|
sub insert_functionplotcustomrule { |
|
return ' |
|
<functionplotcustomrule> |
|
<answer type="loncapa/perl"> |
|
# &fpr_val("label"), &fpr_f($x), &fpr_dfdx($x), &fpr_d2fdx2($x) |
|
# ($xs,$xe,$ys,$ye)=&fpr_vectorcoords("Name"), ($x,$y)=&fpr_objectcoords("Name") |
|
# &fpr_vectorlength("Name"), &fpr_vectorangle("Name") |
|
|
|
# Return 0 or 1 |
|
return 1; |
|
</answer> |
|
</functionplotcustomrule>'; |
|
} |
|
|
sub insert_functionplotruleset { |
sub insert_functionplotruleset { |
return ' |
return ' |
<functionplotruleset> |
<functionplotruleset> |