The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Curve fitting domain

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000