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

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Mon Jun 20 16:05:46 CDT 2011


Author: jonmon
Date: 2011-06-20 16:05:46 -0500 (Mon, 20 Jun 2011)
New Revision: 4647

Modified:
   usertools/plotter/src/plotter/Dual.java
Log:
o moved plotter method to the top of the class.
o added same fix from the Lines class wrt labels being empty.


Modified: usertools/plotter/src/plotter/Dual.java
===================================================================
--- usertools/plotter/src/plotter/Dual.java	2011-06-20 20:42:03 UTC (rev 4646)
+++ usertools/plotter/src/plotter/Dual.java	2011-06-20 21:05:46 UTC (rev 4647)
@@ -291,11 +291,14 @@
             String label = "data: " + count;
             try
             {
-                label = labels.get(count);
+                String s = labels.get(count);
+                if( !(s.equals("")) )
+                    label = s;
             }
             catch (IndexOutOfBoundsException e)
             {}
 
+            Util.verbose( "label: "+label );
             XYSeries series = new XYSeries(label);
             for (int j = 0; j < d.length; j++)
             {




More information about the Swift-commit mailing list