Add3DLinePlot Method

The Add3DLinePlot method adds a 3D XYY ribbon/wall plot to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an Auto3DLinePlot object.

Syntax

object.Add3DLinePlot( 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)
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

 

Remarks

3D graphs can only be added to other 3D graphs.

Example

This example shows how to add a 3D XYY ribbon/wall 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.Add3DLinePlot( GrapherApp.Path + "\samples\bar chart orientations.dat", 1, 3)

 

Used by: AutoGraph object

See Also

Add3DLinePlotGraph