Diff for /loncom/xml/lonplot.pm between versions 1.152 and 1.152.6.1

version 1.152, 2009/11/14 19:13:36 version 1.152.6.1, 2014/07/09 15:17:32
Line 1681  sub write_gnuplot_file { Line 1681  sub write_gnuplot_file {
     $gnuplot_input .= "set samples $Apache::lonplot::plot{'samples'}\n";      $gnuplot_input .= "set samples $Apache::lonplot::plot{'samples'}\n";
     # title, xlabel, ylabel      # title, xlabel, ylabel
     # titles      # titles
     my $extra_space_x = ($xtics{'location'} eq 'axis') ? ' 0, -0.5 ' : '';      my $offset;
     my $extra_space_y = ($ytics{'location'} eq 'axis') ? ' -0.5, 0 ' : '';      if ($version >= 4.4) {
           $offset = 'offset ';
       }
       my $extra_space_x = ($xtics{'location'} eq 'axis') ? ' '.$offset.'0, -0.5 ' : '';
       my $extra_space_y = ($ytics{'location'} eq 'axis') ? ' '.$offset.'-0.5, 0 ' : '';
   
     if ($target eq 'tex') {      if ($target eq 'tex') {
  $gnuplot_input .= "set title  \"$title\"          font \"".$font_properties->{'printname'}.",".$fontsize."pt\"\n" if (defined($title)) ;   $gnuplot_input .= "set title  \"$title\"          font \"".$font_properties->{'printname'}.",".$fontsize."pt\"\n" if (defined($title)) ;

Removed from v.1.152  
changed lines
  Added in v.1.152.6.1


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>