AddXYZClassPlotGraph Method

The AddXYZClassPlotGraph method creates a new 3D XYZ class plot graph. Returns an AutoXYZClassPlot object.

Syntax

object.AddXYZClassPlotGraph( worksheet, xCol, yCol, zCol, classCol, id )

Parameter Type Description
worksheet string required
xCol variant optional, default = 1 (column A)
yCol variant optional, default = 2 (column B)
zCol variant optional, default = 3 (column C)
classCol variant optional, default = 4 (column D)
id variant optional, plot name

 

Example

This example shows how to create a 3D XYZ class scatter plot graph.

Set Graph = Plot.Shapes.AddXYZClassPlotGraph("C:\Program Files\Golden Software\Grapher\Samples\bubble.dat",1,2,3,4)

 

Used by: AutoShapes collection