T O P I C R E V I E W |
n/a |
Posted - 10/08/2006 : 9:02:12 PM A slightly annoying feature of the standard "fit polynomial" tool that I haven't found a way around is that it adds to the specified domain of the fitted curve. Basically I am trying to have the points of the fit match up with my data points on the x axis.
For example, I am specifying 0.318 as the "XMin" parameter and 0.415 as the "XMax" parameter and the results come out starting at 0.3083 and ending at 0.4247. I can recalculate it to include the differences, but it's kind of annoying. Is there any way to change this behavior? |
2 L A T E S T R E P L I E S (Newest First) |
Leo_Li |
Posted - 10/09/2006 : 11:49:54 PM another quick solution: 1. in origin workspace, Alt+4 to open "code builder" 2. in code builder, browse and open PR.ogs (under Origin root folder) 3. find this line of script: stat.MakeX.margin=10; change it to: stat.MakeX.margin=0; by doing so, the range margin is ultimately set to be zero when you use "fit polynomial" tool.
try it.
Edited by - Leo_Li on 10/09/2006 11:51:57 PM |
erica-cn |
Posted - 10/08/2006 : 10:35:53 PM Hi
In order to make the points of the fit match up with your data points on the x axis, you can try the Polynomial Fit Tool.
1) Select Tools:Polynomial Fit. This opens the dialog box. 2)On the settings tab, set Range Marge as 0. It sets the percent outside of the data plot's X value range to create the fit curve (left and right).
Then you can select the data region need fitting, and then Click Fit on the Operation tab to perform a polynomial regression on the selected data plot according to the tool settings.
I hope it is helpful to your problem.
Erica Shang OriginLab Technical Service
Edited by - erica-cn on 10/08/2006 10:54:08 PM |
|
|