Grapher allows a fit curve to be added to any line/scatter plot data. A linear fit curve can be used to calculate the slope of the data distribution.

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*Fit curve*command. - In the
**Fits**dialog, select*Linear, Y = B * X + A*from the*Available Fits*list. - Click the
*Add*button to add the fit to the*Display Following Fits*list. - Click
*OK*to close the dialog and add the fit curve to the graph. - 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 into plot document*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 January 12, 2018*

## 0 Comments