[Kst] Sparse Ascii data

Brisset, Nicolas Nicolas.Brisset at eurocopter.com
Wed Nov 20 08:40:42 UTC 2013


Peter,

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.

Nicolas

-----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?

Thanks,
Peter
_______________________________________________
Kst mailing list
Kst at kde.org
https://mail.kde.org/mailman/listinfo/kst
EUROCOPTER DEUTSCHLAND GmbH
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


CONFIDENTIALITY NOTICE

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.


More information about the Kst mailing list