AddStiffPlot Method
The AddStiffPlot method adds a stiff plot to an existing 2D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoStiffPlot object.
Syntax
object.AddStiffPlot( worksheet, lCol, rCol, xAxis, yAxis, id )
Parameter | Type | Description |
worksheet | string | required |
lCol | variant | optional, default = 1 (column A) |
rCol | variant | optional, default = 2 (column B) |
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 stiff plot to a graph.
Set StiffPlot = Graph.AddStiffPlot("C:\Program Files\Golden Software\Grapher\Samples\stiff data.xls",2,3)
Used by: AutoGraph object