--- loncom/xml/lonplot.pm 2005/06/09 02:16:04 1.110 +++ loncom/xml/lonplot.pm 2005/07/05 15:05:13 1.111 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.110 2005/06/09 02:16:04 albertel Exp $ +# $Id: lonplot.pm,v 1.111 2005/07/05 15:05:13 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -589,7 +589,7 @@ ENDIMAGE &Apache::lonxml::debug(" gnuplot ht = $Apache::lonplot::plot{'height'}"); #might be inside the safe space, register the URL for later &Apache::lonxml::register_ssi("/cgi-bin/plot.gif?file=$filename.data&output=eps"); - $result = "%DYNAMICIMAGE:$Apache::lonplot::plot{'width'}:$Apache::lonplot::plot{'height'}:$Apache::lonplot::plot{'texwidth'} \n"; + $result = "%DYNAMICIMAGE:$Apache::lonplot::plot{'width'}:$Apache::lonplot::plot{'height'}:$Apache::lonplot::plot{'texwidth'}\n"; $result .= '\graphicspath{{/home/httpd/perl/tmp/}}'."\n"; $result .= '\includegraphics[width='.$Apache::lonplot::plot{'texwidth'}.' mm]{'.&Apache::lonnet::unescape($filename).'.eps}'; }