AutoPolarFunction Object

The AutoPolarFunction object contains the properties of polar function plots.

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

Properties

AFuncT

ArrowScale

DisplayAValues

DisplayRValues

EndArrow

RFuncA

RFuncT

StartArrow

Example

The following script demonstrates how the AutoPolarFunction 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 the Polar Function Plot

Set Graph = Plot.Shapes.AddPolarFunctionGraph(False,"2 * A",,0,12)

 

'Set the polar function plot to the PolarFunctionPlot object

Set PolarFunctionPlot = Graph.Plots.Item(1)

 

End Sub