Page 1 of 1

To fit straight line segments throughout a curve in triparte

Posted: Wed Dec 17, 2014 3:59 am
by Anbazhagan Panjamani
Hi ,

I have a curve in a tripartite plot . I want to do least square fitting of straight line segments through that curve and want the values of points at the intersection of these straight line segments. Which option in D Plot software helps me for the same ? Kindly help

Posted: Wed Dec 17, 2014 9:00 am
by DPlotAdmin
Use Generate>Polynomial Curve Fit with order=1, then Info>Find Intersections.

Posted: Wed Feb 25, 2015 5:50 am
by Anbazhagan Panjamani
With generate- polynomial of degree one , I can get only a straight line segment . I need to do piecewise linear fitting of the curve . I need 7 line segment with least sqare fitting through the curve.

Posted: Wed Feb 25, 2015 12:38 pm
by DPlotAdmin
The only way to do that is to use Generate>More Curve Fits and specify the extents you want to fit, seven times. This will produce seven curves. You can combine those into one "curve" with Edit>Combine Curves.

Edit: I didn't think this through. It is very unlikely that the endpoints of those line segments will match up. I can't think of a good way to do what you want.