AddXYZClassPlot Method

The AddXYZClassPlot method adds a 3D XYZ class plot to an existing 3D graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoXYZClassPlot object.

Syntax

object.AddXYZClassPlot( worksheet, xCol, yCol, zCol, classCol, xAxis, yAxis, 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)
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)
zAxis variant optional, id of Z axis to use for plot (default = uses first Z axis in graph)
id variant optional, plot name
 

 

Example

This example shows how to add a 3D XYZ class scatter plot to an existing graph.

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

 

Used by: AutoGraph object