[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using ri
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes |
Date: |
Thu, 19 Jan 2012 19:18:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 |
Follow-up Comment #15, bug #35292 (project octave):
I think the problem lies in graphics.cc. You might want to take a look at
these changesets in Mercurial which appear to be related.
changeset: 13757:1e81e2e30af3
user: John W. Eaton <address@hidden>
date: Wed Oct 26 17:36:54 2011 -0400
files: src/graphics.cc
description:
default limits for logscale plots
* graphics.cc (default_lim): New optional argument, logscale.
Return [0.1, 1.0] if logscale is true.
(axes::properties::get_axis_limits): Return default limits if min/max
values are at their initial values.
changeset: 13756:6dfebfa334cb
user: John W. Eaton <address@hidden>
date: Wed Oct 26 14:19:54 2011 -0400
files: liboctave/dMatrix.cc liboctave/dMatrix.h liboctave/dNDArray.cc
liboctave/dNDArray.h liboctave/fMatrix.cc liboctave/fMatrix.h
liboctave/fNDArray.cc liboctave/fNDArray.h liboctave/lo-mappers.h
liboctave/mx-inlines.cc src/graphics.cc src/graphics.h.in
description:
allow negative data log plots with OpenGL+FLTK graphics (bug #34232)
* mx-inlines.cc (mx_inline_any_positive): New function.
* lo-mappers.h (xpositive_sign (double), xpositive_sign (float)):
New functions.
* fNDArray.h, fNDArray.cc (FloatNDArray::any_element_is_positive):
New function.
* fMatrix.h, fMatrix.cc (FloatMatrix::any_element_is_positive):
New function.
* dNDArray.h, dNDArray.cc (NDArray::any_element_is_positive):
New function.
* dMatrix.h, dMatrix.cc (Matrix::any_element_is_positive):
New function.
* graphics.h.in (log_scaler::do_neg_scale): New function.
(log_scaler::scale (const Matrix&) const,
log_scaler::scale (const NDArray&) const): Call do_neg_scale if no
array elements are positive.
* graphics.cc (axes::properties::get_axis_limits): Omit zero from
positive values for log plots. Correctly widen range for all negative
log plots.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35292>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, (continued)
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Doug Stewart, 2012/01/11
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Ben Abbott, 2012/01/11
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Rik, 2012/01/12
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Tatsuro MATSUOKA, 2012/01/13
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Ben Abbott, 2012/01/13
- [Octave-bug-tracker] [bug #35292] Plotted Figure crashing, Doug Stewart, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, Rik, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, Doug Stewart, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, Doug Stewart, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, Doug Stewart, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes,
Rik <=
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, Rik, 2012/01/19
- [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes, John W. Eaton, 2012/01/24