How can I calculate the slope of my data distribution in Grapher?

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

For example, suppose your scatter plot looks like this:

Grapher scatter plot with linear point distribution

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.

  1. Click on the Line/Scatter Plot in the Object Manager to select it.
  2. Click Graph Tools | Add to graph | Fit Curve. By default, a linear fit will be applied.
  3. Click on the Linear Fit in the Object Manager to select it.
  4. In the Property Manager, click on the Plot tab.
  5. Click the Insert button next in the Insert into plot document field.
  6. Click in the Plot window where you want the text to appear. The equation is in the form Y = M*X+B where M is the slope the line.

Grapher scatter plot with linear fit curve and statistics

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


Updated March 12, 2019

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.