Bug 86524 - Zoom range is limited
Summary: Zoom range is limited
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 23:21 UTC by Netterfield
Modified: 2004-08-04 04:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Netterfield 2004-08-03 23:21:45 UTC
Version:           0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.3-7mdk

Problem: mouse zoom range limit is too high

How to reproduce:
Create and plot the equation 'sin(x)*1.0E-10'
Try to zoom in Y.  You can't.

Correct behavior:
You should be able to zoom in Y.

Note: this bug was introduced as the resolution to bug 85359.  The resolution is much worse than the problem.

The correct limit should be related to the dynamic range availible to double precision.
Comment 1 George Staikos 2004-08-03 23:32:47 UTC
On Tuesday 03 August 2004 17:21, netterfield@astro.utoronto.ca wrote:
> Problem: mouse zoom range limit is too high
>
> How to reproduce:
> Create and plot the equation 'sin(x)*1.0E-10'
> Try to zoom in Y.  You can't.
>
> Correct behavior:
> You should be able to zoom in Y.
>
> Note: this bug was introduced as the resolution to bug 85359.  The
> resolution is much worse than the problem.
>
> The correct limit should be related to the dynamic range availible to
> double precision.

   I agree.  This is what I had envisioned for the solution as well.  It will 
of course be architecture dependent but I'm sure there are some good 
resources available for doing this.

Comment 2 Andrew Walker 2004-08-04 04:36:24 UTC
Limit zoom to 10 times the minimum value represented by a double value.