Mercurial > hg > octave-lyh
diff src/graphics.cc @ 9434:ac2617d4e30c
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 | f284e2a26ff9 |
children | 2d73b19c5507 |
line wrap: on
line diff
--- a/src/graphics.cc +++ b/src/graphics.cc @@ -481,7 +481,7 @@ if (e > emax) emax = e; - if (e >= 0 && e < eminp) + if (e > 0 && e < eminp) eminp = e; } } @@ -3389,7 +3389,6 @@ array_property& ticks, bool limmode_is_auto, bool is_logscale) { - // FIXME -- add log ticks and lims if (lims.get ().is_empty ())