Zoom GUI in fltk backend
John W. Eaton
jwe at octave.org
Thu Jul 23 15:00:04 CDT 2009
[Oops. This time with the attachment. --jwe]
On 23-Jul-2009, Shai Ayal wrote:
| I attach a changeset incorporating Soren's and my precious patch. It
| implements the following behavior for the fltk backend:
| Keyboard Shortcuts (operate on the current axes):
| a - autoscale
| g - toggle grid
|
| Mouse (operate on the axes below the mouse pointer)
| left drag - pan
| mouse wheel - zoom
| right drag - rectangle zoom
| left double click - autoscale
|
| It laso chages the help buttons label from "H" to "?" which might help
| people realize what it is.
| Hopefully this compromise will satisfy all (Probably, as compromises
| go, it'll just annoy everyone). Maybe in the future there will be some
| mechanism to customize the backend, so everyone can be happy
The rectangle zoom doesn't seem to work for me. Instead of zooming,
clicking and dragging the right mouse button draws a series of
rectangles which don't go away when the mouse button is released, and
no zoom occurs (see the attached screenshot). I assume it works for
you, so do you have any clues about how to debug this problem? I'm
using libfltk1.1-dev (v 1.1.9-6) on a Debian AMD64 system. Does
anyone else see this problem?
I checked it in anyway, since the other features work, and I'm not
sure whether this is a library problem, or some other problem.
Thanks,
jwe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot.png
Type: image/png
Size: 30811 bytes
Desc: not available
Url : https://www-old.cae.wisc.edu/pipermail/octave-maintainers/attachments/20090723/36fc2712/attachment-0001.png
More information about the Octave-maintainers
mailing list