AddPolarFunctionPlot Method
The AddPolarFunctionPlot method adds a 2D polar function plot to an existing 2D polar-type graph, equivalent to Graph | Add to Graph | Plot. Returns an AutoPolarFunction object.
Syntax
object.AddPolarFunctionPlot( useParametric, function1, function2, firstValue, lastValue, id )
Parameter | Type | Description |
useParametric | Variant | optional, true to use parametric equations |
function1 | String | required, function to plot (R = F(A) if useParametric is false; otherwise R = F(T)) |
function2 | Variant | optional, function to plot (A = G(T) if useParametric is true; otherwise ignored) |
firstValue | Variant | optional, first value to evaluate the function(s), default = 0 |
lastValue | Variant | optional, last value to evaluate the function(s), default = 25 |
id | Variant | optional, plot name |
Remarks
A polar function plot can be added to other polar-type plots, such as rose diagrams. See Mathematical Functions for information on writing function equations.
Example
This example shows how to add a polar function plot to an existing polar plot.
Dim Graph3 As Object
Set Graph3 = Shapes.AddPolarPlotGraph(GrapherApp.Path + "\samples\polar1.dat")
Graph3.AddPolarFunctionPlot( False, "2 * sqrt(a)",,,360)
Used by: AutoGraph object