[Kst] [kst] [Bug 346243] New: plot created from wizard does not display first and last point of two columns of data containing header line
Roger Wehage
raw915 at gmail.com
Wed Apr 15 23:09:57 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=346243
Bug ID: 346243
Summary: plot created from wizard does not display first and
last point of two columns of data containing header
line
Product: kst
Version: 2.0.6
Platform: Mac OS X Disk Images
OS: OS X
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: plotting
Assignee: kst at kde.org
Reporter: raw915 at gmail.com
Following the simple.dat example in the Kst manual, the file contains one line
with x y header, The file contains eleven additional lines with the first
column consisting of integers ranging from -5 to 5 and the second column
consisting of numbers ranging from 6.25 down to 0 and back up to 6.25. All
numbers are space separated. The DataWizard is used to load the file and set up
the plot. The resulting plot starts not with the first data point -5 6.25 as
expected but with the second data point -4 4. And it ends not with the last
data point 5 6.25 as expected but with the next to last data point 4 4.
Reproducible: Always
Steps to Reproduce:
1. Started with the simple.dat file created by hand in Sublime Text to insure
that there were no hidden characters that might cause problems.
2. Launched the Kst2 application Kst 2.0.6 - A data viewing program. Revision
1307223
3. Selected Data Wizard.
4. Located /Users/raw915/kst_data/simple.dat file and clicked on ASCII file
Configure...
5. Window on left shows 12 lines exactly as in file.
6. Set data starts at line: 2 and Read field names from line: 1.
7. All else left as default. Set Interpret INDEX As INDEX.
8. Clicked OK and then CONTINUE.
9. Moved y column to Selected data: and hit Continue.
10. Under Data range set start at 1 and Read to end.
11. Set Create XY plots and Create from field: x
12. All else left as default and clicked Continue.
13. Used all default values except set Points only (Also tested Lines only and
Points and Lines)
14. Clicked on the Done button, and the faulty plot appeared.
Actual Results:
The plot appears with the displayed x-axis from -4 to 4 and the displayed
y-axis from 0 to 4. The x-axis is labeled x and the y-axis is labeled y as
expected. Nine points are drawn corresponding to rows 3 through 11 in the file.
The first point -5 6.25 in row 2 and the last point 5 6.25 in row 12 are not
drawn. When lines are drawn, they do not extend left beyond the -4 4 or extend
right right beyond the 4 4 points. This indicates that points -5 6.25 and 5
6.25 have not been included in the plot. I dragged the plot and zoomed out, and
was is clear that the endpoints have not been included in the plot.
Expected Results:
The software should have included the first point -5 6.25 in row 2 and the last
point 5 6.25 in row 12 of the data file in the plot. Markers for the two points
should appear in the plot when markers are selected, and lines joining these
two points to their respective neighbor points should be drawn when lines are
selected.
This version of Kst was installed using the downloaded dmg file. It is running
on a MacBook Pro (15-inch, Mid 2012) 2.6 GHz Intel Core i7 with 8 GB 1600 MHz
DDR3. The latest OS X Yosemite Version 10.10.3 and Xcode Version 6.3 (6D570)
are installed.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kst
mailing list