comparison 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
comparison
equal deleted inserted replaced
9433:38a0f9dc0ab4 9434:ac2617d4e30c
479 emin = e; 479 emin = e;
480 480
481 if (e > emax) 481 if (e > emax)
482 emax = e; 482 emax = e;
483 483
484 if (e >= 0 && e < eminp) 484 if (e > 0 && e < eminp)
485 eminp = e; 485 eminp = e;
486 } 486 }
487 } 487 }
488 } 488 }
489 489
3387 void 3387 void
3388 axes::properties::calc_ticks_and_lims (array_property& lims, 3388 axes::properties::calc_ticks_and_lims (array_property& lims,
3389 array_property& ticks, 3389 array_property& ticks,
3390 bool limmode_is_auto, bool is_logscale) 3390 bool limmode_is_auto, bool is_logscale)
3391 { 3391 {
3392
3393 // FIXME -- add log ticks and lims 3392 // FIXME -- add log ticks and lims
3394 3393
3395 if (lims.get ().is_empty ()) 3394 if (lims.get ().is_empty ())
3396 return; 3395 return;
3397 3396