[project @ 2008-01-17 19:07:51 by jwe]
author |
jwe |
date |
Thu, 17 Jan 2008 19:07:51 +0000 |
parents |
872b263b7e62 |
children |
0114d8cd1587 |
files |
src/ChangeLog src/graphics.h.in |
diffstat |
2 files changed, 7 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-17 Michael Goffioul <michael.goffioul@gmail.com>
+
+ * graphics.h.in (data_property::get_data_limits): Reset min/max values.
+
2008-01-17 David Bateman <dbateman@free.fr>
* ov-fcn-inline.cc: Add tests for Finline.
--- a/src/graphics.h.in
+++ b/src/graphics.h.in
@@ -659,6 +659,9 @@
{
octave_idx_type nel = data.numel ();
+ xmin = xminp = octave_Inf;
+ xmax = -octave_Inf;
+
if (nel > 0)
{
const double *d = data.data ();