octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Zoom GUI in fltk backend


From: Shai Ayal
Subject: Re: Zoom GUI in fltk backend
Date: Tue, 21 Jul 2009 06:46:15 +0300

On Tue, Jul 21, 2009 at 12:33 AM, John W. Eaton<address@hidden> 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



reply via email to

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