Origin Ver. and Service Release (Select Help-->About Origin): 9.1.0 Operating System: winxp
Currently still learning and I am trying to have a simple fit execute on the active plot in a labtalk script. Logistic fit + fixing A2 - rest is default - saved as myfittheme.
nlbegin theme:=myfittheme; nlfit; nlend 1;
It abides by my fixed parameters so I think this works? However, I am getting slightly different results from labtalk script vs. chosing the same fit theme from analysis->fitting->non-linear curve fit. (EC 50: 1,52 vs 1,58)
Since the script only loads the theme(which works perfecty fine on its own) I do not understand what is happening here. Already played with alot of options but I feel that I am missing somethign simple and very basic here.
I wonder if you have already saved the fixed status and the fixed value into the theme. You could open the NLfit dialog and select the theme you have saved, then click the triangle button to select Theme Setting… and check if the Fixed Status and Fixed Value checkbox is checked.
Something just dawned on me though: The plot I want to fit is created by with plot designations on column properties: A(X) E(Y) F(Y error)
I always fit from active graph window. Going from menu apparently takes the y error into consideration(as weight) but for the labtalk command I had to specify it. (more details here https://www.originlab.com/doc/Origin-Help/FIt-with-Err-Weight )