AutoSummationPlot Object

The AutoSummationPlot object has been replaced by the AutoMathPlot object. See AutoMathPlot instead.

The AutoSummationPlot object controls the settings for summation plots.

Derived from: AutoLinePlot object (All methods and properties of AutoLinePlot apply to this object except for AddFit and SetPlotType.)

Properties

NumberPts

Methods

AddPlot

RemoveAllPlots

RemovePlot

Example

The following script demonstrates how the AutoSummationPlot object is used.

Sub Main

 

'Declares GrapherApp as an object

  Dim GrapherApp As Object

 

'Creates an instance of the Grapher Application object

 'and assigns it to the variable named "GrapherApp"

  Set GrapherApp = CreateObject("Grapher.Application")

 

 'Makes Grapher visible

  GrapherApp.Visible = True

 

 'Creates a plot document in Grapher and assigns

 'it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Graph as an object

  Dim Graph As Object

 

'Creates a line/scatter graph

Set Graph = Plot.Shapes.AddLinePlotGraph("C:\Program Files\Golden Software\Grapher\Samples\bar chart orientations.dat",1,2)

 

'Add line plot to graph

Graph.AddLinePlot("C:\Program Files\Golden Software\Grapher\Samples\bar chart orientations.dat",1,3)

 

'Add a summation plot to graph

Set SummationPlot = Graph.AddSummationPlot("X Axis 1","Y Axis 1")

 

End Sub