polarplot
polarplot(theta, r)
Input: theta, r · Output: no output
What it is
Converts polar coordinates theta (Vec of numbers, radians) and r (Vec of numbers, radius) to Cartesian (x=r·cos θ, y=r·sin θ) and draws an ordinary line/scatter series. Not a native polar-axis renderer — no circular gridlines, angular ticks, or radial axis; it's a correctly-shaped curve on Cartesian-looking axes.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
polarplot(theta, r) | theta Vec or numbernot documented yetr Vec or numbernot documented yet | no output | Not a native polar-axis renderer — no circular gridlines, angular ticks, or radial axis; it's a correctly-shaped curve on Cartesian-looking axes. |
Examples
From the documentation, and run by the build -- the output and the figure below are what the engine actually produced. Simplest first.
idx = 0 to 100
theta = idx ./ 100 .* (2*pi)
r = ones(101)
polarplot(theta, r) # a unit circle, drawn as an (x, y) curve
from fundamentals