Zoom GUI in fltk backend
John W. Eaton
jwe at octave.org
Mon Jul 20 16:33:31 CDT 2009
On 20-Jul-2009, Søren Hauberg wrote:
| man, 20 07 2009 kl. 23:00 +0300, skrev Shai Ayal:
| > How about the attached patch? (it's against current hg so it includes
| > Soren's previous patch). I used the code from octavede. It now
| > zooms/pans the axes in which the mouse pointer is in. It will not
| > change the current axes, as I'm not sure I like this idea.
| >
| > Comments?
|
| This works quite nice. It would be great if something like this would be
| pushed.
It doesn't seem to work for me at all. Clicking in the plot causes
ca=-1.28198
to be printed in the command prompt window (this looks like the ID of
the current axes) but I can't seem to make zooming work. I've tried
clicking and dragging with all three mouse buttons. Any clues? What
could I be doing wrong? My test plot is
x = -10:0.01:10;
plot (x, sin (x));
jwe
More information about the Octave-maintainers
mailing list