Thanks for the great reply!<div><br>Comments below...<div><br><div class="gmail_quote">On Thu, Sep 27, 2012 at 12:58 PM, Sonic <span dir="ltr"><<a href="mailto:get.sonic@gmail.com" target="_blank">get.sonic@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Thanks. That sounds awesome. I've got Kst2 source code and have started reading. Earlier, I had tried with Kst2 to support opening Easyplot files. I first tried a plugin and then I thought I'd edit the source itself. But for some reasons I dropped the idea.</div>
</blockquote><div><br></div><div>This would not be a data source, but instead would be a substitute for a ".kst" file or for the command line.  I think it is quite do-able.  All of the concepts in the .ep file that I saw are already in the .kst file (embedded data, plot and curve description, etc.).</div>
<div><br></div><div>Hmmm...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The steps involved would be:<br>
- looking at the history of the request Barth mentioned on <a href="http://bugs.kde.org" target="_blank">bugs.kde.org</a> (once it's up again, seems to be down right now...)<br>
- discussing the details with us here on the list to make sure we're going in the right direction and have a common understanding<br>
- adding the options in the GUI + loading/saving them to the .kst file<br>
- implementing the parsing of ASCII times and conversion to "double" time, which should be easy with QDateTime methods<br>
- testing, first locally on your PC and then you can provide patches which we'll review and integrate :-)<br>
</blockquote>
<br></div>
I glanced over the bug report. I'll certainly work on it. But I'm a bit busy right now.<div class="im"><br>
<br></div></blockquote><div> </div><div>:-)</div><div><br></div><div>[....]</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2. Easyplot is extremely simple to use. I mean I can open an ASCII file with nothing but two columns of numbers (x and y) in EP and it directly shows a plot. Kst on the other hand first shows me an import dialog where I need to select lot of things before I get to see the plot.<br>
</blockquote><div><br></div><div>For 'superfast' reading of ascii files, I do it from the command prompt:</div><div><br></div><div>promp% kst2 -x 1 -y 2 data.dat</div><div><br></div><div>Reading ascii files like this from the UI is not something that I often do.  Our data sources have hundreds of fields - hence the nature of the UI.</div>
<div><br></div><div>But: we could add a radio box (with a sticky default) to the first page of the data wizard:</div><div>[ ] Plot all fields vs INDEX</div><div>[ ] Plot all fields vs first field</div><div>[ ] Select fields and formatting with UI</div>
<div><br></div><div>Thoughts?</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
3. EP supports putting data and plot information in the same file. (please see attached file). The plot header is simple text and we auto generate it from our applications. This is a huge advantage over Kst (I'd say a deal breaker in adopting Kst) as we generate hundreds (or even thousands in some cases) of such plot files from our C++ applications. The files can simply be double-clicked and EP would display the plot. No fuss.<br>

EP supports both ASCII data and binary data (the plot header is ASCII either way). Some of us use the latter to reduce the file size while many use the ASCII multi-column structure because of its simplicity.<br></blockquote>
<div><br></div><div>kst2 supports the same things in the kst file, including embedded data.  However, the format is a fairly verbose XML file, which is not trivially machine readable.  However, a .ep file reader, or a kst to ep converter could be written.  I would not plan to support saving as an ep file, however.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
4. EP supports date and time values. The date needs to be in column-1 and time in the next column. The time can even have milli-seconds. This is important for us for plotting higher sample rate data.<br>
We often run data logging that cross midnight boundaries. Without proper date support, it is a pain to manually split the files.<br></blockquote><div><br></div><div>High on our priority list, as we mentioned.  I will start on it soon if you can not.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
5. Auto-generation of independent plot files (from C++ applications) is of extreme importance to our way of work. I'm not sure if Kst supports this (in a convenient form, that is). It must also be possible to edit such a plot from the GUI and save to it.<br>
</blockquote><div><br></div><div><div>This way of working sounds very interesting!</div></div><div><br></div><div>We have python scripting in beta right now, which can do a lot of what one might want (everything you mentioned at least).  So one might implement the .ep reader as a python script (?)</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
6. Another killer feature of EP is that I can right-click and copy a curve from one application window and paste it in another for 'over-plotting' two data sets. The pasted curve can be moved horizontally or vertically so that features from two data sets can be aligned for visual comparison.<br>
</blockquote><div><br></div><div>Sounds very interesting.  Tell me more... </div><div> </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">regards,<br>
<br>
Syam<br></blockquote><div><br></div><div>thanks for the comments!</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">_______________________________________________<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" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><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><br>
</div></div>