[LON-CAPA-cvs] cvs: loncom /xml lonplot.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 05 Jul 2005 15:05:15 -0000


albertel		Tue Jul  5 11:05:15 2005 EDT

  Modified files:              
    /loncom/xml	lonplot.pm 
  Log:
  - BUG#4191, that extra space was causing gnuplot images to not print
  
  
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.110 loncom/xml/lonplot.pm:1.111
--- loncom/xml/lonplot.pm:1.110	Wed Jun  8 22:16:04 2005
+++ loncom/xml/lonplot.pm	Tue Jul  5 11:05:13 2005
@@ -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 @@
 	    &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}';
 	}