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

matthew lon-capa-cvs@mail.lon-capa.org
Wed, 01 May 2002 15:56:23 -0000


matthew		Wed May  1 11:56:23 2002 EDT

  Modified files:              
    /loncom/xml	lonplot.pm 
  Log:
  Changed aspect ratio for printing.
  
  
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.74 loncom/xml/lonplot.pm:1.75
--- loncom/xml/lonplot.pm:1.74	Mon Apr 29 08:45:57 2002
+++ loncom/xml/lonplot.pm	Wed May  1 11:56:23 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Dynamic plot
 #
-# $Id: lonplot.pm,v 1.74 2002/04/29 12:45:57 matthew Exp $
+# $Id: lonplot.pm,v 1.75 2002/05/01 15:56:23 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1042,7 +1042,7 @@
 	    $label->{'xpos'}.','.$label->{'ypos'}.' '.$label->{'justify'}.$/ ;
     }
     if ($target eq 'tex') {
-        $gnuplot_input .="set size 1,".$plot{'height'}/$plot{'width'};
+        $gnuplot_input .="set size 1,".$plot{'height'}/$plot{'width'}*1.36;
         $gnuplot_input .="\n";
         }
     # curves