DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

To fit straight line segments throughout a curve in triparte

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
Anbazhagan Panjamani



Joined: 06 Nov 2014
Posts: 4

PostPosted: Wed Dec 17, 2014 3:59 am    Post subject: To fit straight line segments throughout a curve in triparte Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Dec 17, 2014 9:00 am    Post subject: Reply with quote

Use Generate>Polynomial Curve Fit with order=1, then Info>Find Intersections.
_________________
Visualize Your Data
support@dplot.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anbazhagan Panjamani



Joined: 06 Nov 2014
Posts: 4

PostPosted: Wed Feb 25, 2015 5:50 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Wed Feb 25, 2015 12:38 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group