Bug 87018 - fits to curves with different length X and Y vectors is incorrect.
Summary: fits to curves with different length X and Y vectors is incorrect.
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Andrew Walker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-12 05:34 UTC by Netterfield
Modified: 2004-08-12 22:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Netterfield 2004-08-12 05:34:25 UTC
Version:           0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.2-3mdk

-Create a curve where the X-vector length is different from the Y vector length
(eg, 5 frames of INDEX vs cos from dirfile_maker) and plot it.

select plot->rmb->fit-><curvename>

from the plot dialog, select a fit (eg, fit polynomial degree 3).

The fit is incorrect.

This is because the fits do not assume the curve rule that X[0]->Y[0] and X[xlen-1]->Y[ylen-1], and interpolate inbetween.
Comment 1 Andrew Walker 2004-08-12 22:37:58 UTC
*** Bug has been marked as fixed ***.