T O P I C R E V I E W |
ulalume |
Posted - 07/23/2014 : 12:15:53 PM Origin Ver. and Service Release (Select Help-->About Origin): 9.0 SR 2 (64bit) Operating System: win8
Hello;
I am new to using origin scripting, and am having troubles with a loop for Gaussian fitting of data (~400 colum of Y to one X). When I run my loop it gives the error:
Failed to resolve range string, VarName = iy, VarValue = (,ii), ii
I am not sure what the problem with my script is.
loop(ii, 2, wks.ncols) { nlbegin iy:=ii func:=gauss mode:=cons; nlfit 3; nlend 1; };
I would appreciate any help is solving the issue. |
1 L A T E S T R E P L I E S (Newest First) |
lkb0221 |
Posted - 07/24/2014 : 10:24:03 AM Hi,
If you want a consolidated report with independent fits (mode:=cons), there is no loop needed. // nlbegin iy:=(1,2:$(wks.ncols)) func:=gauss mode:=cons; nlfit 3; nlend 1; //
Zheng OriginLab |
|
|