Return to lonplot.pm CVS log | Up to [LON-CAPA] / loncom / xml |
version 1.98, 2004/06/28 15:42:49 | version 1.99, 2004/06/28 17:02:27 |
---|---|
Line 43 BEGIN { | Line 43 BEGIN { |
# | # |
# Determine the version of GNUPLOT | # Determine the version of GNUPLOT |
$weboutputformat = 'gif'; | $weboutputformat = 'gif'; |
$versionstring = `gnuplot --version`; | $versionstring = `gnuplot --version 2>/dev/null`; |
if ($versionstring =~ /^gnuplot 4/) { | if ($versionstring =~ /^gnuplot 4/) { |
$weboutputformat = 'png'; | $weboutputformat = 'png'; |
} | } |