octave-bug-tracker
[Top][All Lists]
Advanced

[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: John W. Eaton
Subject: [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes
Date: Thu, 02 Feb 2012 22:14:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0 Iceweasel/8.0

Follow-up Comment #26, bug #35292 (project octave):

Hmm, zooming or panning for loglog with negative values doesn't work at all
for me.

For example:


x = y = -(3:5); loglog (x, y);


I'm pretty sure the problem is with the conversion from pixel position to
graph coordinate.

Look at the coordinate value that is displayed when you move the mouse around.
 For me, it is not negative, and not the value corresponding to points on the
plot.  Is it a log value?  It doesn't match what I would expect, but I know
there is another bug with coordinate values.

In any case, the code in do_zoom code expects VAL to be the position of the
mouse pointer in axes coordinate values.  Fix that, and I think zooming will
work correctly.

I don't understand the coordinate transformation code.  Maybe Michael Goffioul
can help with this problem?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?35292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]