version 1.176, 2016/01/22 22:30:07
|
version 1.179, 2018/09/26 14:52:43
|
Line 525 my %axis_defaults =
|
Line 525 my %axis_defaults =
|
}, |
}, |
xformat => { |
xformat => { |
default => 'on', |
default => 'on', |
test => sub {$_[0]=~/^(on|off|\d+(f|F|e|E))$/}, |
test => sub {$_[0]=~/^(on|off|\d+(f|F|e|E|P(|\s*\Q\0317\0200\E)))$/}, |
description => 'X-axis number formatting', |
description => 'X-axis number formatting', |
edit_type => 'choice', |
edit_type => 'choice', |
choices => ['on', 'off', '2e', '2f'], |
choices => ['on', 'off', '2e', '2f'], |
Line 750 sub end_gnuplot {
|
Line 750 sub end_gnuplot {
|
"</div>\n"; |
"</div>\n"; |
|
|
} else { |
} else { |
$result .= "<img $srcatt $widthatt $heightatt $alignatt $altatt>"; |
$result .= "<img $srcatt $widthatt $heightatt $alignatt $altatt>"; |
} |
} |
} elsif ($target eq 'tex') { |
} elsif ($target eq 'tex') { |
&Apache::lonxml::debug(" gnuplot wid = $Apache::lonplot::plot{'width'}"); |
&Apache::lonxml::debug(" gnuplot wid = $Apache::lonplot::plot{'width'}"); |