Follow

How can I add a regression fit line to my graph in Grapher?

To add a fit curve to your data, follow these steps:
  1. Create the scatter plot of your data:
    1. Click the Graphs | Create | Basic | Scatter Plot command (create scatter plot icon).
    2. Select the data file and click Open. The plot is created.

Scatter Plot Graph
This scatter plot graph shows the default data.
The graph has also added axis titles and formatting.

  1. Click on the Line/Scatter Plot 1 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 option.
  4. In the Fits dialog,
    1. Select the desired regression line type from the Available Fits list.
    2. Click the Add button.
    3. Click OK and the fit curve is added to the graph.

 

Note that if you have a line connecting the actual data points in addition to the fit curve line, you can make the line connecting the points invisible to remove it:

  1. Click on the Line/Scatter Plot 1 in the Object Manager to select it.
  2. Click on the Line tab in the Property Manager.
  3. Click on the existing line option (Solid) next to Style and select Invisible from the list.


This plot shows the original data and a linear fit regression curve.

 

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.