Zoom GUI in fltk backend
Shai Ayal
shaiay at gmail.com
Mon Jun 29 22:43:26 CDT 2009
On Tue, Jun 30, 2009 at 12:16 AM, Søren Hauberg<soren at hauberg.org> wrote:
> Anyway, I'm attaching a patch in case anybody wants to try this out. I
> had to hardcode the upper and lower bounds for the plot because I
> couldn't figure out how to extract this information from the axes. So,
> if you want to play with this, make sure that
>
> min (x) = 0 and max (x) = 10
I haven't tried it yet, but just looking at the patch, you have:
Matrix xlim = ap.get_xlim ().matrix_value ();
Matrix ylim = ap.get_ylim ().matrix_value ();
don't these give you the limits (i.e. minx=xlim(0)<xlim(1) ? xlim(0) : xlim(1);)
Shai
More information about the Octave-maintainers
mailing list