Index: trunk/MagicSoft/Mars/mgui/MCamDisplay.cc
===================================================================
--- trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 1966)
+++ trunk/MagicSoft/Mars/mgui/MCamDisplay.cc	(revision 2010)
@@ -486,6 +486,6 @@
         max = event.GetNumPhotonsMax(fGeomCam);
 
-        if (max < 1.)
-            max = 1.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
@@ -531,6 +531,6 @@
         max = event.GetMeanMax(fGeomCam);
 
-        if (max < 20.)
-            max = 20.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
@@ -569,6 +569,6 @@
         max = event.GetErrorPhotMax(fGeomCam);
 
-        if (max < 20.)
-            max = 20.;
+        if (max==min)
+            max = min +1;
 
         UpdateLegend(min, max);
