AutoPolarVectorPlot Object

The AutoPolarVectorPlot object controls polar vector plot settings.

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

Properties

a1Col

a2Col

Direction1Col

Direction2Col

r1Col

r2Col

VectorType

Example

The following script demonstrates how the AutoPolarVectorPlot 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 polar vector plot

Set Graph = Plot.Shapes.AddPolarVectorPlotGraph(GrapherApp.Path + "\Samples\bar chart orientations.dat",1,2,3,4)

 

'Set the polar vector plot to the PolarVectorPlot object

Set PolarVectorPlot = Graph.Plots.Item(1)

 

End Sub