octave-maintainers
[Top][All Lists]
Advanced

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

Re: mouse rotation for fltk backend


From: Kai Habel
Subject: Re: mouse rotation for fltk backend
Date: Mon, 19 Jul 2010 13:05:09 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.10) Gecko/20100520 SUSE/3.0.5 Thunderbird/3.0.5

Am 19.07.2010 09:34, schrieb Soren Hauberg:
> son, 18 07 2010 kl. 20:49 +0200, skrev Kai Habel:
>   
>
>> To make it fully usable I have removed the zooming and panning limits in
>> axes::properties::zoom_about_point and axes::properties::translate_view.
>> Was there a specific reason to introduce them?
>>     
> If memory serves me correct (but it rarely does...) these functions
> ensure that you don't end up zooming or panning too far away from data.
> With the latest code (which includes your changeset) you can try to
>
>   backend fltk
>   plot (sin (1:100))
>
> and then click (and hold down) the mouse on the plot and move to the
> left. You'll see that you can move the view as far away from the data as
> you like. The old code ensured that you never moved the view somewhere
> where nothing could be seen. Basically, you were only allowed to pane
> and zoom inside the bounding box of the data.
>
> Soren
>   
Hello Soeren,

if that was the sole reason, we can remove these limits, since the user
can always press the A (autoscale)-button to get back to the original view.

Kai


reply via email to

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