AutoXYZPlot Object

The AutoXYZPlot object represents the 3D XYZ line/scatter plot.

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

Properties

AngledLabels

BottomProjection

DropLines

DropLinesFormat

DropLinesStep

HDropAxis

HDropLines

HDropLinesFormat

ProjectionLinesFormat

SideProjection

VDropAxis

ZCol

ZDropLinesFormat

Example

The following script demonstrates how the AutoXYZPlot 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

 

'Create a 3D XYZ line/scatter plot

Set Graph = Plot.Shapes.AddXYZPlotGraph("C:\Program Files\Golden Software\Grapher\Samples\DEMOGRID.DAT",1,2,3)

 

'Set the 3D line/scatter plot to the XYZPlot object

Set XYZPlot = Graph.Plots.Item(1)

End Sub