Origin Ver. 126.96.36.199 and Service Release (Select Help-->About Origin): Operating System: Windows 10
I'm learning LabTalk to automate my long analysis (started yesterday). I can't find a method/attribute that allows me to select the x data when fitting NL function directly from a graph. I am using a user made function. What I do is Data selection => Input data => Rows => By X => 15. Is there a suitable script that can be written for this?
Hello, Do you mean you want to fit a subrange of data defined by X start and end value.
In NLFit dialog, when u set by X and specify X From and to values, the input node shows the syntax to use if in script.
E.g. Suppose you are fitting with column B plot in graph1, You can use the following input [Graph1]1!1"B"[x10:20]; //x from 10 to 20 [Graph1]1!1"B"[10:20]; //index from 10 to 20. 10th point to 20th point. [Graph1]1!1"B"[x10:0]; //0 means end point