Add3DStepPlot Method
The Add3DStepPlot method adds a new 3D XYY step plot to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an Auto3DLinePlot object.
Syntax
object.Add3DStepPlot( worksheet, xCol, yCol, xAxis, yAxis, id )
Parameter | Type | Description |
worksheet | String | required, the 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
3D graphs can only be added to other 3D graphs.
Example
This example shows how to add a 3D XYY step plot to an existing 3D XYY ribbon/wall plot.
Dim Graph2 As Object
Set Graph2 = Shapes.Add3DLinePlotGraph(GrapherApp.Path + "\samples\bar chart orientations.dat")
Graph2.Add3DStepPlot(GrapherApp.Path + "\samples\bar chart orientations.dat", 1, 3)
Used by: AutoGraph object