Bug 378403 - y versus y plot from different files
Summary: y versus y plot from different files
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: plotting (show other bugs)
Version: 2.0.8
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-03 16:06 UTC by Iraklis Simos
Modified: 2017-04-19 03:39 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iraklis Simos 2017-04-03 16:06:08 UTC
Hi all

I wish to make a plot from two different data files using only the y columns (y vs y plot). In order to make myself clear:

I use the command prompt to load the data from two different files and make the x- and y- vectors as follows: i wish to use the 2nd column from the first file as x-vector, and the 2nd column of the second file as the y-vector.
Following the instructions i write:

kst data1.txt -x 2 data2.txt -y 2

However i don't get the desired. I get a y-vs-y both vectors from the same file (straight line). It seems that the program ignores one of the two files, although is stated clearly in the documentation that it should work:

https://www.mankier.com/1/kst2#Examples

"Get the X vector from data1.dat, and the Y vector from data2.dat.
      kst data1.dat -x 1 data2.dat -y 1"

Any idea??

Thank you 
Iraklis
Comment 1 Netterfield 2017-04-19 03:39:57 UTC
Git commit 37305b973e983c34ea570f8e9c63ca9358d34d58 by Barth Netterfield.
Committed on 19/04/2017 at 03:39.
Pushed by netterfield into branch 'master'.

Fix -x from different file than -y

M  +-    --    docbook/kst/Icon-kst-datamanager.png
M  +-    --    docbook/kst/Screenshot-kst-datamanager.png
M  +44   -506  docbook/kst/data-chapter.docbook
M  +20   -1    src/libkstapp/commandlineparser.cpp

https://commits.kde.org/kst-plot/37305b973e983c34ea570f8e9c63ca9358d34d58