AddStepPlot Method
The AddStepPlot method adds a 2D step plot to an existing 2D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoLinePlot object.
Syntax
object.AddStepPlot( worksheet, xCol, yCol, id )
Parameter | Type | Description |
worksheet | String | required, full path and file name of the data |
xCol | Variant | optional, default = 1 (column A) |
yCol | Variant | optional, default = 2 (column B) |
id | Variant | optional, plot name |
Remarks
2D graphs can only be added to other 2D graphs.
Example
This example shows how to add a step plot.
Graph1.AddStepPlot(GrapherApp.Path + "\samples\bar chart orientations.dat")
Used by: AutoGraph object