[Kst] Can't find an easy way to plot X,Y,X,Y datafile

Olivier LEMAIRE contact at olivier-lemaire.eu
Wed Apr 29 15:31:02 UTC 2015


Hi Barth and thank you for your answer. Is there a way to specify the 
separator and skip the first line ?


---
/* ********************************************************************
  * Olivier LEMAIRE
  * http://opensourcewebsite.free.fr/
  * https://github.com/osfe
  * *******************************************************************/


On 29.04.2015 16:29, Barth Netterfield wrote:
> From the command line:
> 
>   kst2 data.dat -x 1 -y 2 -x 3 -y 4
> 
> Much slower from the gui.
> 
> cbn
> 
> On April 29, 2015 1:35:24 PM Olivier LEMAIRE wrote:
> 
>> Hi there,
>> tahnk you for your answer.
>> The point here is that I have very large data sets and my files can
>> contain more than 20 X,Y couples. This is a very repetitive task and 
>> I'd
>> like this to be automatic like it is with a classic set with a single 
>> X
>> axis and multiple Y sets.
>> just to make sure we talk about the same here is a sample of what 
>> could
>> be my data
>> 
>> 
>> X11, Y11, X21, Y21
>> X12, Y12, X22, Y22
>> X13, Y12, X23, Y23
>> X14, Y12, X24, Y24
>> X15, Y12, X25, Y25
>> X16, Y12, X26, Y26
>> 
>> In that set, X11 = X21 et X16 = X26 but all intermediate X values on a
>> line are different: X12 != X22, X13 != X23...
>> 
>> Olivier
>> 
>> ---
>> /* 
>> ********************************************************************
>>   * Olivier LEMAIRE
>>   * http://opensourcewebsite.free.fr/
>>   * https://github.com/osfe
>>   * 
>> *******************************************************************/
>> 
>> On 28.04.2015 19:03, Roger Wehage wrote:
>> > You might try one of the Interpolation Plugins described in Section
>> > 8.4 of the The Kst Handbook. For example you could interpolate all
>> > channels to a specified x sample rate and then plot those interpolated
>> > channels on a single figure using your specified x sample rate.
>> >
>> >> On Apr 28, 2015, at 7:56 AM, Olivier LEMAIRE
>> >> <contact at olivier-lemaire.eu> wrote:
>> >>
>> >> Hi there,
>> >> I have simulation datafile that I want to plot with kst. The file is a
>> >> csv with X,Y,X,Y..., meaning that each set of data has its own X and Y
>> >> axis, the X axis ranges are all the same, so they can be plotted on a
>> >> single figure but the steps between each x points in X axis are all
>> >> different.
>> >> I can't find an easy way to do so. Do you know the way to do it,
>> >> please.
>> >>
>> >> Thank you very much
>> >>
>> >> Olivier
>> >>
>> >> --
>> >> /*
>> >> ********************************************************************
>> >> * Olivier LEMAIRE
>> >> * http://opensourcewebsite.free.fr/
>> >> * https://github.com/osfe
>> >> * *******************************************************************/
>> >>
>> >> _______________________________________________
>> >> Kst mailing list
>> >> Kst at kde.org
>> >> https://mail.kde.org/mailman/listinfo/kst
>> >
>> > Roger Wehage
>> > raw915 at gmail.com
>> > I prefer to use encrypted email.
>> > My public key fingerprint is 2FC0 7616 DDB6 6B42 FF9C 775A FAEF DF7B
>> > 266E DB80.
>> > Learn how to encrypt your email with the Email Self Defense guide
>> > (https://emailselfdefense.fsf.org/).
>> >
>> >
>> >
>> > _______________________________________________
>> > Kst mailing list
>> > Kst at kde.org
>> > https://mail.kde.org/mailman/listinfo/kst
>> 
>> _______________________________________________
>> Kst mailing list
>> Kst at kde.org
>> https://mail.kde.org/mailman/listinfo/kst


More information about the Kst mailing list