How do I calculate the area under a curve in Grapher?

Grapher can calculate the area under a curve to any baseline value. The Graph Tools | Plot Tools | Calculate Area command computes the area under a line/scatter plot, ribbon/wall plot, or 3D XYZ line/scatter plot. When calculating area for 3D XYZ line/scatter plots, the area is calculated only for the XY plane. The area is reported in the graph's XY units using zero as the base line.

To calculate the area:

  1. Create a line/scatter, ribbon/wall, or 3D XYZ line/scatter plot using the Home | New Graph | Basic commands.
  2. Click on the plot to select it.
  3. Click the Graph Tools | Plot Tools | Calculate Area command.
  4. Enter a baseline value (Y value to calculate the area down to, default is zero) into the Area Baseline Value dialog and click OK.
  5. A Grapher - Report window opens containing the area and information such as the data file, X column, and Y column used to create the plot. The area is reported in the graph's XY units.


Area Tip 1
The area is calculated by finding the area between the plot and baseline value entered in the Area Baseline Value dialog. If any part of the plot extends below the baseline value, a negative area is calculated and this value is added to the total area. The area report displays area Above Baseline Area, Below Baseline Area, and Total Area.


Area Tip 2
The units for the area are X units * Y units. For most situations, the X and Y values should be in the same units before using this command for the calculated area value to make sense.


Updated September 21, 2018

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


Please sign in to leave a comment.