[HepData-svn] r1327 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/plot

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Mon Nov 30 09:26:18 GMT 2009


Author: whalley
Date: Mon Nov 30 09:26:18 2009
New Revision: 1327

Log:
fix problem with low limit in log plot

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/plot/Plotter.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/plot/Plotter.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/plot/Plotter.java	Fri Nov 27 13:55:38 2009	(r1326)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/plot/Plotter.java	Mon Nov 30 09:26:18 2009	(r1327)
@@ -81,11 +81,7 @@
             yhigh *= 1.1;
         }
         Double yrangepos = yhigh - ylowpos;
-        if (yrangepos > 0) {
-            ylowpos -= 0.05 * yrangepos;
-        } else {
-            ylowpos *= 0.9;
-        }
+        ylowpos *= 0.9;
 
         // Configure x axis
         Range rangeX = null;


More information about the HepData-svn mailing list