Hi,
Can you try the code below to see whether problem get solved:
nlbegin iy:=col("slice") func:=Gauss init:=enable nltree:=param replica:=1 option:=init_all;
param.s_A=1; // Share Area between two peaks, "s" stands for share,
// "A" stands for parameter Area
nlfit;
nlgui gg 1; //get the gui output to a tree named gg
gg.output.residual.book$=<new>; //output residual data to new book
nlgui gg 0; //update changes back to gui tree
nlend 1 1;
Regards!
Sean
OriginLab Tech. Service