To fit straight line segments throughout a curve in triparte

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
Anbazhagan Panjamani
Posts: 4
Joined: Thu Nov 06, 2014 11:13 pm

To fit straight line segments throughout a curve in triparte

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

Use Generate>Polynomial Curve Fit with order=1, then Info>Find Intersections.
Visualize Your Data
support@dplot.com
Anbazhagan Panjamani
Posts: 4
Joined: Thu Nov 06, 2014 11:13 pm

Post 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.
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
Post Reply