Displaying differences for changeset
 
display as  

src/java/cfa/guiDC_Model.java

@@ -697,7 +697,7 @@
                     }
 
                     //Also add to category box plot data
-                    if((xyRanks[j][0] <= 10) & (xyRanks[j][0] > 0)){
+                    if((xyRanks[j][0] <= 10) & (xyRanks[j][0] >= 0)){
                         high_data.add(WQ_load);
                         if(WQ_load > xyRanks[j][1]){
                             highexceed_count++;
@@ -941,7 +941,7 @@
         //Create box plot of WQ points
         Graphing graphing = new Graphing();
         boolean showOutliers = false, showExtremeOutliers = false;
-        if(high_data.size() > 1){
+        if(high_data.size() > 4){
             //Create quartile rectangle, min-max line, and median line
             Object[] returnArray = graphing.boxplot_shapes(plot, 5, high_data, 8, showOutliers, showExtremeOutliers);
             plot = (XYPlot) returnArray[0];
@@ -949,7 +949,7 @@
             showExtremeOutliers = (Boolean) returnArray[2];
         }
 
-        if(moist_data.size() > 1){
+        if(moist_data.size() > 4){
             //Create quartile rectangle, min-max line, and median line
             Object[] returnArray = graphing.boxplot_shapes(plot, 25, moist_data, 13, showOutliers, showExtremeOutliers);
             plot = (XYPlot) returnArray[0];
@@ -957,7 +957,7 @@
             showExtremeOutliers = (Boolean) returnArray[2];
         }
 
-        if(mid_data.size() > 1){
+        if(mid_data.size() > 4){
             //Create quartile rectangle, min-max line, and median line
             Object[] returnArray = graphing.boxplot_shapes(plot, 50, mid_data, 18, showOutliers, showExtremeOutliers);
             plot = (XYPlot) returnArray[0];
@@ -965,7 +965,7 @@
             showExtremeOutliers = (Boolean) returnArray[2];
         }
 
-        if(dry_data.size() > 1){
+        if(dry_data.size() > 4){
             //Create quartile rectangle, min-max line, and median line
             Object[] returnArray = graphing.boxplot_shapes(plot, 75, dry_data, 23, showOutliers, showExtremeOutliers);
             plot = (XYPlot) returnArray[0];
@@ -973,7 +973,7 @@
             showExtremeOutliers = (Boolean) returnArray[2];
         }
 
-        if(low_data.size() > 1){
+        if(low_data.size() > 4){
             //Create quartile rectangle, min-max line, and median line
             Object[] returnArray = graphing.boxplot_shapes(plot, 95, low_data, 31, showOutliers, showExtremeOutliers);
             plot = (XYPlot) returnArray[0];