## Macro Command Reference

`fit`

Start a curve fit with the currently defined parameters

`fit <n> <function> [A] [B] [C] [D] [E] [weight]`

Define a parameter set for one curve fitting function.

`n`

can be a value between 0 and 23 (the row in the curve fitting table).
`fit clr`

Clear all curve fitting parameter.

More information about curve fitting can be found here.

Example:

fit 0 A+B*x+C*x^2 0~ 0~ 0~ fit