C-PLOT

Scientific Graphics and Data Analysis

12.6. - fi fit the data points



starts the fitting algorithm using the current data.
fi [[+|-] # ...] [p#=value ...]
   [n=value] [f#=value] [t#=value]
   [L#=value|none ...] [U#=value|none ...]
All the options to fi can be selected using other commands.

Single numbers, represented by #, indicate which parameters to vary. In addition, +# means add parameter # to the ones being fitted, while -# means don't fit parameter #. The vp command also can be used to select the parameters to vary. Values for fixed parameters and initial values for fitted parameters can be set using the p#=value syntax, where the # represents the parameter number. The gp command can be used to enter the same information.

The maximum number of iterations is set using n=value. This value also can be set using the fc command.

You can set the range of the independent variables using the ra command or you can choose the range for each independent variable by entering f#=value to set the lower limit for independent variable number # and t#=value to set the upper limit. You can set only the from-value or only the to-value if you like. If # is not specified, independent variable number 1 is used.

Parameter constraints can be set with the lm command or by entering L#=value as an argument to fi where # is the parameter number. Replace value with none to turn off constraints. Use U#=value or U#=none for the upper constraint.