version 1.125, 2007/08/03 17:44:35
|
version 1.126, 2007/08/03 20:48:01
|
Line 208 my %gnuplot_defaults =
|
Line 208 my %gnuplot_defaults =
|
test => $sml_test, |
test => $sml_test, |
description => 'Font size to use in web output (pts)', |
description => 'Font size to use in web output (pts)', |
edit_type => 'choice', |
edit_type => 'choice', |
choices => [['5','5 (small)'],'7',['9','9 (medium)'],'10','12',['15','15 (large)']] |
choices => [['5','5 (small)'],'6','7','8',['9','9 (medium)'],'10',['11','11 (large)'],'12','15'] |
}, |
}, |
fontface => { |
fontface => { |
default => 'sans-serif', |
default => 'sans-serif', |
Line 501 my %curve_defaults =
|
Line 501 my %curve_defaults =
|
choices => [keys(%linestyles)] |
choices => [keys(%linestyles)] |
}, |
}, |
linewidth => { |
linewidth => { |
default => 4, |
default => 2, |
test => $int_test, |
test => $int_test, |
description => 'Line width (may not apply to all line styles)', |
description => 'Line width (may not apply to all line styles)', |
edit_type => 'choice', |
edit_type => 'choice', |
Line 713 sub get_font {
|
Line 713 sub get_font {
|
} elsif ( $Apache::lonplot::plot{'font'} eq 'medium') { |
} elsif ( $Apache::lonplot::plot{'font'} eq 'medium') { |
$size = '9'; |
$size = '9'; |
} elsif ( $Apache::lonplot::plot{'font'} eq 'large') { |
} elsif ( $Apache::lonplot::plot{'font'} eq 'large') { |
$size = '15'; |
$size = '11'; |
} else { |
} else { |
$size = '9'; |
$size = '9'; |
} |
} |