[Kst] [Bug 129484] New: Curves with only NaNs break autoscaling

Nicolas Brisset nicolas.brisset at eurocopter.com
Tue Jun 20 14:18:52 CEST 2006

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
           Summary: Curves with only NaNs break autoscaling
           Product: kst
           Version: unspecified
          Platform: unspecified
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: nicolas.brisset eurocopter com

Version:           1.3.0_devel (using KDE 3.4.0, compiled sources)
Compiler:          gcc version 3.4.3
OS:                SunOS (sun4u) release 5.8

It seems that curves with only NaNs break autoscale. To reproduce:

- load column 2 from gyrodata.dat
- use the "shift" filter and shift it by more than its length (e.g. 300000 points)
- it looks like NaNs are considered as 0 by the autoscaling algorithm

It would be better to automatically ignore curves with only NaNs in the autoscale computation (as can be done manually now with the checkbox in the curve dialog)

More information about the Kst mailing list