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

raeburn raeburn at source.lon-capa.org
Wed Sep 26 10:02:47 EDT 2018


raeburn		Wed Sep 26 14:02:47 2018 EDT

  Modified files:              
    /loncom/xml	lonplot.pm 
  Log:
  - Include multiples of Pi in tic-mark label numerical format specifiers.
  
  
Index: loncom/xml/lonplot.pm
diff -u loncom/xml/lonplot.pm:1.177 loncom/xml/lonplot.pm:1.178
--- loncom/xml/lonplot.pm:1.177	Sun Apr  2 21:38:15 2017
+++ loncom/xml/lonplot.pm	Wed Sep 26 14:02:47 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Dynamic plot
 #
-# $Id: lonplot.pm,v 1.177 2017/04/02 21:38:15 raeburn Exp $
+# $Id: lonplot.pm,v 1.178 2018/09/26 14:02:47 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -525,7 +525,7 @@
         },
      xformat      => {
          default     => 'on',
-         test        => sub {$_[0]=~/^(on|off|\d+(f|F|e|E))$/},
+         test        => sub {$_[0]=~/^(on|off|\d+(f|F|e|E|P))$/},
          description => 'X-axis number formatting',
          edit_type   => 'choice',
          choices     => ['on', 'off', '2e', '2f'],




More information about the LON-CAPA-cvs mailing list