AutoXYZClassPlot Object

The AutoXYZClassPlot object controls the settings for class plots.

Derived from: AutoXYZPlot object (All methods and properties of AutoXYZPlot apply to this object.)

 

Properties

ClassCol

ClassSymbol

DefaultSymSize

DisplayLegend

Gradient

GradientSymFill

GradientSymLine

IncSymSize

Method

NumberOfClasses

StartSymSize

UseIncrementalSymSize

Methods

AddClass

DeleteAllClasses

DeleteClass

ResetNamedClasses

Example

The following script demonstrates how the AutoXYZClassPlot object is used.

Sub Main

'Declares GrapherApp as an object

  Dim GrapherApp As Object

 

'Creates an instance of the Grapher Application object

 'and assigns it to the variable named "GrapherApp"

  Set GrapherApp = CreateObject("Grapher.Application")

 

 'Makes Grapher visible

  GrapherApp.Visible = True

 

 'Creates a plot document in Grapher and assigns

 'it to the variable named "Plot"

  Set Plot = GrapherApp.Documents.Add(grfPlotDoc)

 

 'Declares Graph as an object

  Dim Graph As Object

 

'Creates 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)

 

'Set the class scatter plot to the XYZClassScatterPlot object

Set XYZClassScatterPlot = Graph.Plots.Item(1)

End Sub