<div dir="ltr">As you have sort of figured out, kst's data source model will want you to have 3 different ascii files in this case.<div><br></div><div>But, if you just want to plot points, and not lines, you can use NaN as your bad data marker.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 3, 2016 at 6:30 PM, Daniel Miller <span dir="ltr"><<a href="mailto:dmiller@vitalconnect.com" target="_blank">dmiller@vitalconnect.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have kst2 working with single plot stream... that works very nicely.  At this point, I'm using space as separator between fields.<div><br></div><div>However, we have a couple of data streams which contain multiple data (x, y, z); in this situation, what our data would look like is ( timestamp, data), but the data would be one of { data_x, data_y, data_z }.  In other words, the data stream that I receive from the hardware, delivers data_x, data_y, data_z in separate messages, with different timestamps.</div><div><br></div><div>I want kst2 to read this ascii data file and plot 3 separate graphs on one plot.  </div><div>I'm a little confused about how to do this, though; </div><div><br></div><div>for example, say I have a line with data for data_z; this will look something like:</div><div>timestamp data_z </div><div>however, I want one file to contain data for all three streams, so I'm guessing I need to have empty fields for the not-relevant data; maybe something like:</div><div>timestamp unused_x unused_y data_z</div><div>timestamp unused_x data_y unused_z</div><div>etc...</div><div><br></div><div>So first off, I probably have to use a different separator rather than space for separator; but even with comma, I still have a problem; for example:</div><div><br></div><div>timestamp, 0, 0, data_z</div><div>timestamp, 0, data_y, 0</div><div><br></div><div>Except that in some cases, 0 is valid data; I *think* I need some way to represent "invalid data" in the unused fields.</div><div><br></div><div>Is this understandable??  How do I handle this??</div><div>Dan Miller</div></div>
<br>_______________________________________________<br>
Kst mailing list<br>
<a href="mailto:Kst@kde.org">Kst@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kst" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)">C. Barth Netterfield<br>University of Toronto<br>416-845-0946</span><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse;color:rgb(136,136,136)"><br></span></div></div>
</div></div>