[Kst] [Bug 106008] New: NaN values should not be skipped while importing data from ASCII file

Nicolas Brisset nicolas.brisset at eurocopter.com
Fri May 20 09:54:42 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=106008         
           Summary: NaN values should not be skipped while importing data
                    from ASCII file
           Product: kst
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: nicolas.brisset eurocopter com


Version:           1.1.0_beta2 (using KDE KDE 3.4.0)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3.3 
OS:                Linux

When loading vectors from an ASCII files, NaN (Not a Number) values are skipped, which can result in pretty bad and hard to understand problems. For instance, imagine I have a file with X and Y vectors, with some data missing and replaced by some non-numeric text string in the data file (it sometimes happens in the real world!). If 10 values are missing for X and 20 for Y, when I plot Y vs X I may get erratic results because of the skipped values and automatic interpolation performed by kst.
I think NaN values should be preserved in the vectors, and resulting points skipped when plotting. If the plot uses lines, when there are such points they should be "cut".


More information about the Kst mailing list