AddMathPlot Method

The AddMathPlot method adds a math plot to an existing graph. Returns an AutoMathPlot object.

Syntax

object.AddMathPlot( xAxis, yAxis, id )

Parameter Type Description
xAxis variant optional, id of X axis to use for plot (default = uses first X axis in graph)
yAxis variant optional, id of Y axis to use for plot (default = uses first Y axis in graph)
id variant optional, plot name

 

Example

This example shows how to add a math plot to a graph.

Set MathPlot = Graph.AddMathPlot("X Axis 1","Y Axis 1")

 

Used by: AutoGraph object