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
automatization fitting
Note:
Only the poster of this message, and the Moderator can edit the message.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Anti-Spam Code:
Format Mode:
Basic
Help
Prompt
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Red
Yellow
Pink
Green
Orange
Purple
Blue
Beige
Brown
Teal
Navy
Maroon
LimeGreen
Forum:
LabTalk Forum
Subject:
Message:
* HTML is OFF
*
Forum Code
is ON
Smilies
hello i have originpro 2018. windows 11. i have to do: import excel file from the folder then do fft after create plot then do nonlinear curve fit using user defined function after changing plot from linear to log log and do linear fit. i do it manually but i have to do 20*20*7 files. how to automate using labtalk. i couldnt understand how to do it fully. my code: fft1 ix:=col(2) interval:=0.1; plotxy iy:=(1,8) plot:=201; fft and plotting nlbegin iy:=(1!1)[x0:1] theme:="123" fitting using 123 function but then i have curve on plot but there are not results after i need change plot from linear to log log Layer.x.type = 2; layer.y.type = 2; then need to do linear fit with rowx(0:1) and also get result. linear fit was found: tree lrGUI; xop execute:=init classname:=FitLinear iotrgui:=lrGUI; lrGUI.GUI.InputData.Range1.X$ = col(A); lrGUI.GUI.InputData.Range1.Y$ = col(B); xop execute:=init classname:=FitLinear iotrgui:=lrGUI; xop execute:=report iotrgui:=lrGUI; i dont know how is it working but it is. i need add some rowx for example (0:1). but i have no ways how exactly do it. need code exactly like i did it manually. thank you mate.
Check here to subscribe to this topic.
The Origin Forum
© 2020 Originlab Corporation
Snitz Forums 2000