Auto3DXYZVectorPlot Object
The Auto3DXYZvectorPlot object controls the settings for 3D vector plots.
Derived from: AutoXYZPlot object (All methods and properties of AutoXYZPlot apply to this object.)
Properties
Example
The following script demonstrates how the Auto3DXYZVectorPlot 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
'Add a vector plot
Set Graph = Plot.Shapes.AddXYZVectorPlotGraph(GrapherApp.Path + "\Samples\box plot.dat")
'Set the vector plot to the VectorPlot object
Set 3DXYZVectorPlot = Graph.Plots.Item(1)
End Sub