class="resources"
Calculates the values of a polar parametric curve in 2D. Details Example

![]() |
number of points is the number of all calculated points. The independent variable is split into equidistant subpoints. The default is 10. |
![]() |
start is the start point of the interval. The default is 0.0. |
![]() |
end is the end point of the interval. The default is 1.0. |
![]() |
radius as function of angle is a string representing the formula
r = r(phi). |
![]() |
X is the array of the values of the first component, r(phi)cos(phi). |
![]() |
Y is the array of the values of the second component, r(phi)sin(phi). |
![]() |
ticks is the time in milliseconds to analyze the formula and to produce the X and the Y array. |
![]() |
error returns any error or warning from the VI. You can wire error to the Error Cluster From Error Code VI to convert the error code or warning into an error cluster. |
Let
be the angle and r(
) the radius in polar coordinate notation. Then it is:
x = r(phi)cos phi
y = r(phi)sin phi
where
runs over the interval.
The function
r(t) = exp(cos(t)) 2*cos(4*t) + sin(t/12)5
describes a butterfly curve in the plane in polar coordinates, as shown in the following illustration. The illustration can be generated by entering the following values on the front panel:

Refer to the Some Polar Parametric Plots VI in the labview\examples\math\math.llb directory for an example of using the Eval Polar to Rect VI.