Diff for /loncom/xml/lonplot.pm between versions 1.176 and 1.179

version 1.176, 2016/01/22 22:30:07 version 1.179, 2018/09/26 14:52:43
Line 525  my %axis_defaults = Line 525  my %axis_defaults =
         },          },
      xformat      => {       xformat      => {
          default     => 'on',           default     => 'on',
          test        => sub {$_[0]=~/^(on|off|\d+(f|F|e|E))$/},           test        => sub {$_[0]=~/^(on|off|\d+(f|F|e|E|P(|\s*\Q\0317\0200\E)))$/},
          description => 'X-axis number formatting',           description => 'X-axis number formatting',
          edit_type   => 'choice',           edit_type   => 'choice',
          choices     => ['on', 'off', '2e', '2f'],           choices     => ['on', 'off', '2e', '2f'],
Line 750  sub end_gnuplot { Line 750  sub end_gnuplot {
                     "</div>\n";                      "</div>\n";
   
             } else {              } else {
               $result .= "<img $srcatt $widthatt $heightatt $alignatt $altatt>";                  $result .= "<img $srcatt $widthatt $heightatt $alignatt $altatt>";
             }              }
         } elsif ($target eq 'tex') {          } elsif ($target eq 'tex') {
     &Apache::lonxml::debug(" gnuplot wid = $Apache::lonplot::plot{'width'}");      &Apache::lonxml::debug(" gnuplot wid = $Apache::lonplot::plot{'width'}");

Removed from v.1.176  
changed lines
  Added in v.1.179


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