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
 linear fitting over a x-Axis in x-Scale

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
materialscientist Posted - 10/22/2020 : 07:00:52 AM
Origin Ver. and Service Release (Select Help-->About Origin):
Operating System:

Hallo

i am currently writting a program do analyse data. Therefore i need linear fit over a logarithmic x-scale. In the normal dialog box for Fitting you can change the parameter but how i do the same when i use a tree? Is there a overview over the properties of the GUI tree?
I use the code for the fitting:

tree lrGUI; // GUI tree for linear fit
// initialize the GUI tree, with the FitLinear class
xop execute:=init classname:=FitLinear iotrgui:=lrGUI;

// specify the input data in the GUI tree
lrGUI.GUI.InputData.Range1.X$ = col(A);
lrGUI.GUI.InputData.Range1.Y$ = col(C);

// perform linear fit and generate a report with the prepared GUI tree
xop execute:=report iotrgui:=lrGUI;

xop execute:=cleanup; // clean up linear fit operation objects after fitting
1   L A T E S T    R E P L I E S    (Newest First)
一击爆裂陈子豪 Posted - 10/22/2020 : 10:18:11 AM
Use the execute:=update argument.
And no, there is no reference for the tree. You have to print it out in the script window to figure out what to change.

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