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 for Programming
 LabTalk Forum
 NLfit: script vs. menu

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
psoso Posted - 07/13/2018 : 11:24:05 PM
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.

3   L A T E S T    R E P L I E S    (Newest First)
easwar Posted - 07/17/2018 : 08:53:41 AM
Hello,

Thank you for reporting this issue. We will fix it in the next version.

ORG-18656

Easwar
OriginLab
psososo Posted - 07/16/2018 : 06:48:43 AM
yes, fixed value and status are saved.

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 )

nlbegin theme:=myfittheme weight:=ins;
nlfit;
nlend 1;

this now appears to give me the same results. beginner's mistake, as expected. oh well.
yuki_wu Posted - 07/15/2018 : 11:02:06 PM
Hi,

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.

Regards,
Yuki

OriginLab

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