Bug 85643

Summary: derrived vectors that are two points do not display correctly in log plots
Product: [Applications] kst Reporter: Matthew Truch <matt>
Component: generalAssignee: kst
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthew Truch 2004-07-21 20:10:25 UTC
Version:           0.99devel (using KDE KDE 3.2.1)
Installed from:    RedHat RPMs
OS:                Linux

vectors which are created as a result of a linefit (or other ways) are only two point vectors, and therefore display incorrectly when either (or both) of the axes are logarithmic.
Comment 1 George Staikos 2004-07-26 02:41:51 UTC
I'm not able to reproduce this one.  Can you provide a testcase?
Comment 2 Matthew Truch 2004-07-26 03:07:53 UTC
Well, it's more of a fundamental flaw in the linefit results than a display bug.  The problem is that a staight line looks curved in a log plot, so if you plot some data and fit a line to it, and are in a log plot, the line fit should look curved.  But since kst connects points of a vector with straight (even in log plots) lines, it becomes a problem when the points of a vector are too far apart.    
Comment 3 George Staikos 2004-07-26 04:21:58 UTC
Indeed, the linefit is no good for log plots.  However we could easily fix this by adding an optional parameter to indicate the "resolution" of the fit.  I doubt it's worth the effort though, since we have real fits now.  that linefit plugin was really just a demo.  Anyone?
Comment 4 George Staikos 2004-08-05 23:17:25 UTC
This is not the proper plugin to use for industrial-strength fitting procedures.