<div dir="ltr">Hey Maxime,<div><br></div><div style>If you have an ascii data file like this: (notice that the first row is the field name, without spaces)</div><div style><br></div><div style>Temperature Pressure SomeThingElse</div>
<div style>12 55 18</div><div style>13 23 100</div><div style>99 3 22</div><div style><br></div><div style>... and if you configure the ascii file appropriately (press the configure button where you put in the file name in the GUI) then kst will use the first row as the field name, and that name will show up in the axis labels automatically.</div>
<div style><br></div><div style>You can make these changes default, so that plots made from the command line will pick this up.</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Feb 19, 2013 at 10:32 AM, MaxLR <span dir="ltr"><<a href="mailto:maxlr56@hotmail.com" target="_blank">maxlr56@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Thank you for your interest. In order to be more clear, I will explain a bit<br>
more in which context I'm using (or want to use) kst2.<br>
<br>
--Context--<br>
_I am doing an acquisition of measurement in real time.<br>
_I can have between 1 and 128 inputs.<br>
_I am generating a stream of data and I want to visualise them by kst2.<br>
_Moreover, the user will not have to select anything (except the number of<br>
inputs on the hardware side), he will just need to press a button<br>
"visualise".<br>
_The launch of kst2 is done in command line, by a call system generated by a<br>
script. In this way I can easily (I hope) automatised the plotting.<br>
<br>
--What I have done and where I am stuck--<br>
_I succeed to open an ASCII or a NetCFD file in command line.<br>
_I can generate an automatised command line for a defined number of input,<br>
such as: kst2 data.dat -y 1 -y 23 -y 59. The final syntax of the call will<br>
be defined when the choice of the label will be available =). Therefore, it<br>
could be something like: kst2 data.dat -y 1 -ylabel 'Input1' -y 23 -ylabel<br>
'Input23' -y 59 -ylabel 'Input59'.<br>
_I did not figure yet, how to feed kst2 with a stream of data in command. I<br>
think I will use the Netcat command. If I cannot use a stream of data, I<br>
will use a temporary file.<br>
<br>
--Bonus question--<br>
_Before finishing, can I open with kst2 a "dirfile" type (in command or<br>
"window" mode)?<br>
<br>
Now, you know everything. So feel free to give any advice or solution to my<br>
problem. ; )<br>
<br>
Thank you.<br>
<br>
Best regards,<br>
<br>
Maxime<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://kde.6490.n7.nabble.com/Modification-of-the-label-in-command-line-mode-tp1520513p1520824.html" target="_blank">http://kde.6490.n7.nabble.com/Modification-of-the-label-in-command-line-mode-tp1520513p1520824.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the kst mailing list archive at Nabble.com.<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" target="_blank">https://mail.kde.org/mailman/listinfo/kst</a><br>
</div></div></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>
</div>