AddXYZPlotGraph Method

The AddXYZPlotGraph method creates a new 3D XYZ line/scatter plot. Returns an AutoGraph object.

Syntax

object.AddXYZPlotGraph( worksheet, xCol, yCol, zCol id )

 

Parameter Type Description
worksheet String required, data's full path and file name
xCol Variant optional, default = 1 (column A)
yCol Variant optional, default = 2 (column B)
zCol Variant optional, default = 3 (column C)
id Variant optional, graph name

 

Example

This example shows how to create a 3D XYZ line/scatter graph.

Shapes.AddXYZPlotGraph(GrapherApp.Path + "\samples\bar chart orientations.dat")

 

Used by: AutoShapes collection

See Also

AutoXYZPlot

AddXYZPlot