Follow

How can I calculate the slope of my line in Grapher?

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.

  1. Click on the Line/Scatter Plot in the Object Manager to select it.
  2. In the Property Manager, click on the Plot tab.
  3. Click the Add/Edit button next to the Fits command.
  4. In the Fits dialog, select Linear, Y = B * X + A from the list of fits.
  5. Click the Add button to add the fit to the graph.
  6. Click OK to close the dialog.
  7. Click on the Fit 1: Linear plot in the Object Manager to select it.
  8. In the Property Manager, click on the Plot tab.
  9. Click the Insert button next to the Insert statistics option.
  10. 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

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

0 Comments

Please sign in to leave a comment.