Hi,
The constraints are only conserved if you previously select: Fit-» Method-» Lev-Mar (from MPFIT)
Then, in the command line terminal you have to enter the value of your function (i.e. peak center) and the desired range:
The general formula is:
$_"variable number" = ~"initial peak center" ["peak lower constrain":"peak higher constrain"]
In example:
$_50 = ~1600 [1590:1610]
in this case my peak center variable number was _50 and the lower limit was 1590 and the higher 1610.
The variable number corresponding to your peal center can be known from the Functions table, but I usually know the peak center variable number by moving just a little bit the peak and this action appears in the command log above the command line terminal.
This can be also done with peak heigh, hwhm, and, if I am not wrong, with peak shape.
Best regards
Guillermo Copello