Zoom GUI in fltk backend
Shai Ayal
shaiay at gmail.com
Mon Jul 20 22:46:15 CDT 2009
On Tue, Jul 21, 2009 at 12:33 AM, John W. Eaton<jwe at octave.org> wrote:
> 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));
It's not clear to me exactly what you tried, but panning is done by
dragging the mouse, zooming by using the mouse scroll wheel. clicking
should have no effect
Shai
More information about the Octave-maintainers
mailing list