Hi,
The nltree.ubn and nltree.lbn commands could be used after you start a non-linear fit with nlbegin/nlbeginr command. An example of how to use it is as following:
nlbegin iy:=<active> func:=Lorentz nltree:=myt;
//Set the boundary of area (Area>0)
myt.lb4 = 0;
nlfit;
And the fitpeaks command doesn't support to set boundary values. But to set boundary values for multiple peak fitting, you may also use "nlbegin" command, and set the replica value as peak numbers minus one. Here is an example with multiple peak fit (suppose there are 3 peaks):
nlbegin iy:=<active> func:=Lorentz nltree:=myt replica := 2;
//You may check the sequence of parameters by opening the NLFit parameter dialog
nlpara;
//After setting parameters, you could start the fitting.
nlfit;
Hope this will be helpful!
Kathy
Originlab