version 1.63, 2004/01/30 16:31:36
|
version 1.64, 2004/02/02 19:32:11
|
Line 301 sub RR_Tries_Foil_Analysis {
|
Line 301 sub RR_Tries_Foil_Analysis {
|
'Percent Choosing', |
'Percent Choosing', |
100, |
100, |
['#33ff00','#ff3300'], |
['#33ff00','#ff3300'], |
|
undef, |
\@PlotData_Correct, |
\@PlotData_Correct, |
\@PlotData_Incorrect); |
\@PlotData_Incorrect); |
} |
} |
Line 493 sub OR_Tries_Foil_Analysis {
|
Line 494 sub OR_Tries_Foil_Analysis {
|
} |
} |
my $correctgraph = &Apache::loncommon::DrawBarGraph |
my $correctgraph = &Apache::loncommon::DrawBarGraph |
($title,'Foil Number','Percent Correct', |
($title,'Foil Number','Percent Correct', |
100,$plotcolors,$Datasets[0]); |
100,$plotcolors,undef,$Datasets[0]); |
$analysis_html.= '<tr><td>'.$correctgraph.'</td>'; |
$analysis_html.= '<tr><td>'.$correctgraph.'</td>'; |
## |
## |
## |
## |
Line 512 sub OR_Tries_Foil_Analysis {
|
Line 513 sub OR_Tries_Foil_Analysis {
|
$title = 'Attempt '.$i.', '.$count; |
$title = 'Attempt '.$i.', '.$count; |
my $incorrectgraph = &Apache::loncommon::DrawBarGraph |
my $incorrectgraph = &Apache::loncommon::DrawBarGraph |
($title,'Foil Number','% Option Chosen Incorrectly', |
($title,'Foil Number','% Option Chosen Incorrectly', |
100,$plotcolors,@Datasets); |
100,$plotcolors,undef,@Datasets); |
$analysis_html.= '<td>'.$incorrectgraph.'</td>'; |
$analysis_html.= '<td>'.$incorrectgraph.'</td>'; |
$analysis_html.= '<td>'.$foilkey."<td></tr>\n"; |
$analysis_html.= '<td>'.$foilkey."<td></tr>\n"; |
} |
} |
Line 579 sub OR_Tries_Concept_Analysis {
|
Line 580 sub OR_Tries_Concept_Analysis {
|
$title = 'Attempt '.$i.', '.$count; |
$title = 'Attempt '.$i.', '.$count; |
my $graphlink = &Apache::loncommon::DrawBarGraph |
my $graphlink = &Apache::loncommon::DrawBarGraph |
($title,'Concept Number','Percent Correct', |
($title,'Concept Number','Percent Correct', |
100,$plotcolors,$PlotData[$i]->{'_correct'}); |
100,$plotcolors,undef,$PlotData[$i]->{'_correct'}); |
$analysis_html.= '<tr><td>'.$graphlink."</td></tr>\n"; |
$analysis_html.= '<tr><td>'.$graphlink."</td></tr>\n"; |
} |
} |
$analysis_html .= "</table>\n"; |
$analysis_html .= "</table>\n"; |
Line 744 sub OR_Foil_Time_Analysis {
|
Line 745 sub OR_Foil_Time_Analysis {
|
'Percent Correct', |
'Percent Correct', |
100, |
100, |
$plotcolors, |
$plotcolors, |
|
undef, |
$Plotdata[0]); |
$Plotdata[0]); |
for (my $j=0; $j< scalar(@{$Plotdata[0]});$j++) { |
for (my $j=0; $j< scalar(@{$Plotdata[0]});$j++) { |
$Plotdata[0]->[$j]=0; |
$Plotdata[0]->[$j]=0; |
Line 761 sub OR_Foil_Time_Analysis {
|
Line 763 sub OR_Foil_Time_Analysis {
|
'Incorrect Option Choice', |
'Incorrect Option Choice', |
100, |
100, |
$plotcolors, |
$plotcolors, |
|
undef, |
@Plotdata); |
@Plotdata); |
$analysis_html.='<tr>'. |
$analysis_html.='<tr>'. |
'<td>'.$correctplot.'</td>'. |
'<td>'.$correctplot.'</td>'. |
Line 825 sub OR_Concept_Time_Analysis {
|
Line 828 sub OR_Concept_Time_Analysis {
|
'Percent Correct', |
'Percent Correct', |
100, |
100, |
$plotcolors, |
$plotcolors, |
|
undef, |
\@Plotdata); |
\@Plotdata); |
$analysis_html.='<tr>'. |
$analysis_html.='<tr>'. |
'<td>'.$correctplot.'</td>'. |
'<td>'.$correctplot.'</td>'. |