[Swift-commit] r5776 - usertools/plotter/src/plotter

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Mon Apr 30 11:40:09 CDT 2012


Author: wozniak
Date: 2012-04-30 11:40:09 -0500 (Mon, 30 Apr 2012)
New Revision: 5776

Modified:
   usertools/plotter/src/plotter/Lines.java
Log:
Rearrange variables


Modified: usertools/plotter/src/plotter/Lines.java
===================================================================
--- usertools/plotter/src/plotter/Lines.java	2012-04-29 04:26:35 UTC (rev 5775)
+++ usertools/plotter/src/plotter/Lines.java	2012-04-30 16:40:09 UTC (rev 5776)
@@ -1,3 +1,4 @@
+
 package plotter;
 
 import gnu.getopt.Getopt;
@@ -87,9 +88,6 @@
 
     properties = new Properties();
     load(propFile);
-    title = properties.getProperty("title");
-    xlabel = properties.getProperty("xlabel");
-    ylabel = properties.getProperty("ylabel");
 
     scanProperties();
 
@@ -309,10 +307,14 @@
        xmin, xmax, ymin, ymax (auto-selected if not given)
        bw (Black and white, true/false, default false)
        legend.enabled (true/false, default true)
+       axis.x, axis.y (normal/logarithmic, default normal)
    */
   static void scanProperties()
   {
     String tmp;
+    title = properties.getProperty("title");
+    xlabel = properties.getProperty("xlabel");
+    ylabel = properties.getProperty("ylabel");
     tmp = properties.getProperty("width");
     if (tmp != null)
       width = Integer.parseInt(tmp.trim());




More information about the Swift-commit mailing list