diff src/graphics.cc @ 12041:1d4212b80713 release-3-2-x

graphics.cc (get_array_limits): require min_pos value to be greater than zero
author John W. Eaton <jwe@octave.org>
date Thu, 16 Jul 2009 11:56:44 -0400
parents 5183cee7a423
children fe30458b1de8
line wrap: on
line diff
--- a/src/graphics.cc
+++ b/src/graphics.cc
@@ -472,7 +472,7 @@
 	  if (e > emax)
 	    emax = e;
 
-	  if (e >= 0 && e < eminp)
+	  if (e > 0 && e < eminp)
 	    eminp = e;
 	}
     }
@@ -3364,7 +3364,6 @@
 				       array_property& ticks,
 				       bool limmode_is_auto, bool is_logscale)
 {
-
   // FIXME -- add log ticks and lims
 
   if (lims.get ().is_empty ())