[Kst] Sparse Ascii data

David McMinn david.mcminn at iwcdownhole.com
Wed Nov 20 09:04:42 UTC 2013

Hi Nicolas,

When you say that Kst skips the point you should perhaps make it clear that it causes a gap in the line (it stops drawing at the previous point and starts drawing at the next point), rather than drawing a line directly from the previous to the next point.


-----Original Message-----
From: kst-bounces at kde.org [mailto:kst-bounces at kde.org] On Behalf Of Brisset, Nicolas
Sent: 20 November 2013 08:41
To: kst at kde.org
Subject: Re: [Kst] Sparse Ascii data


It is indeed the responsibility of the data source to decide what to do with missing data. The nice way to handle it is to return a NaN value, so that Kst skips the point when drawing the curve. I think we used to do this in Kst 1.x, and that's what we should do here.


-----Ursprüngliche Nachricht-----
Von: kst-bounces at kde.org [mailto:kst-bounces at kde.org] Im Auftrag von Peter Kümmel
Gesendet: Mittwoch, 20. November 2013 08:33
An: kst at kde.org
Betreff: [Kst] Sparse Ascii data

Is there already a way to handle sparse Ascii data (data with missing values at some rows)?

N, Col1, Col2
1,    1,    2
2,     ,    2
3,    1,    2

The idea is to a have a plot for Col1 which is a horizontal line at 1 which does not draw down to zero at row 2.

Is it possible to set a "ignore this value" in the vector, or is it the responsibility of the data source plugin to not add a zero-value at such a entry when reading the file?

Kst mailing list
Kst at kde.org
Sitz der Gesellschaft / Registered Office: Donauwörth Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508 Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury Geschäftsführung / Board of Management:
Dr. Wolfgang Schoder, Vorsitzender / CEO; Friedrich-Wilhelm Hormel; Ralf Barnscheidt; Oliver Schenzle


This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication or any part of it is prohibited and may be unlawful.
If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
Thank you very much.
It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses or other material which might be introduced with this message.
Kst mailing list
Kst at kde.org

More information about the Kst mailing list