Grapher allows a fit curve to be added to any line/scatter plot data. The fit curve can be linear, logarthmic, exponential, or several other types. The linear fit curve can be used to calculate the slope of the line.

For instance, suppose your scatter plot looks like:

*The data appears to follow a general linear trend.*

The following steps can be used to add a linear fit curve and determine the slope of the line.

- Click on the
*Line/Scatter Plot*in the**Object Manager**to select it. - In the
**Property Manager**, click on the**Plot**tab. - Click the
*Add/Edit*button next to the*Fits*command. - In the
**Fits**dialog, select*Linear, Y = B * X + A*from the list of fits. - Click the
*Add*button to add the fit to the graph. - Click
*OK*to close the dialog. - Click on the
*Fit 1: Linear*plot in the**Object Manager**to select it. - In the
**Property Manager**, click on the**Plot**tab. - Click the
*Insert*button next to the*Insert statistics*option. - Click on the screen where you want the text to appear. The equation is in the form Y = M*X+B where M is the slope the line.

*The statistics for the linear fit curve display the slope of the equation.*

*Updated September 30, 2016*

## 0 Comments