AddPolarFunctionGraph Method
The AddPolarFunctionGraph method creates a new 2D polar function graph. Returns an AutoGraph object.
Syntax
object.AddPolarFunctionGraph( 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, graph name |
Remarks
See Mathematical Functions for information on writing function equations.
Example 1
This example shows how to create a polar function plot.
Shapes.AddPolarFunctionGraph( False, "2 * sqrt(a)",,,500)
Example 2
This example shows how to create a parametric polar function plot.
Shapes.AddPolarFunctionGraph( True, "T", "2*T", 50, 500)
Used by: AutoShapes collection