[Kst] [Bug 98515] New: Skip mode fencepost errors
netterfield at astro.utoronto.ca
netterfield at astro.utoronto.ca
Thu Feb 3 18:36:18 CET 2005
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=98515
Summary: Skip mode fencepost errors
Product: kst
Version: unspecified
Platform: unspecified
OS/Version: Linux
Status: NEW
Severity: normal
Priority: NOR
Component: general
AssignedTo: kst kde org
ReportedBy: netterfield astro utoronto ca
Version: 1.1.0_devel (using KDE 3.3.0, SuSE)
Compiler: gcc version 3.3.4 (pre 3.3.5 20040809)
OS: Linux (i686) release 2.6.8-24.11-default
skip is borked.
Demo:
make a plot of a dirfile_maker file
2 curves both with points but no lines for clarity
10 frames of sine, no skip
10 frames of sine, with skip set. (need a second INDEX vector for X)
We will change starting frame and the skip value for curve 2
Case 1: starting frame = 0 and skip = 1 for both vectors of curve 2
everything seems fine: curve 2 has the 1st sample of each frame
Case 2: starting frame = 10 (anything !=0), curve 2 skip = 1
The X (INDEX) vector seems to have the correct value,
but the Y (sine) vector seems to be shifted by by ~19 samples
Case 3: starting frame = 10 (anything !=0), curve 2 skip = 2
X and Y vectors are both shifted, so the points are correct,
but start 1 frame early, and end 1 frame early
More information about the Kst
mailing list