Plots polar data on a polar grid.
XYPOLARPLOT(theta, r, color, lstyle, rmax, dtheta, dr, rmin, rtheta, roff)
theta |
- |
A series, the angle data in radians. |
r |
- |
A series, the radius data. |
color |
- |
Optional. An integer, the grid color. Defaults to light grey (LGREY). |
lstyle |
- |
Optional. An integer, the grid line style. Defaults to 2, dotted. |
rmax |
- |
Optional. A real, the maximum radius of the polar grid. Defaults to -1, automatic. |
dtheta |
- |
Optional. A real, the angle in degrees between polar grids lines. Defaults to 30 degrees. |
dr |
- |
Optional. A real, the tic spacing along the labeled radial grid. Defaults to -1, automatic. |
rmin |
- |
Optional. A real, the minimum radius of the polar grid. Defaults to -1, automatic. |
rtheta |
- |
Optional. A real, the angle of the labeled radial grid in degrees. Defaults to 0 degrees (i.e. horizontal). |
roff |
- |
Optional. A real, the offset of the first tic mark on the labeled radial grid. Defaults to 0. |
An XY series in polar coordinates.
W1: 2*pi*((1..500)/500)
W2: 4 * sin(3 * W1)
W3: xypolarplot(w1, w2)

Creates an XY polar plot in W3. The polar grid has a radius of 6, the angle increment is 30 degrees and the radius increment is 1.0.
W4: xypolarplot(w2, w1)
Same as above except the angle and radius series are swapped.
W1: gsin(1000, 1/1000, 2)
W2: gcos(1000, 1/1000, 3) + 2
W3: xypolarplot(w1, w2)
W4: xypolarplot(w1, w2, grey, 0, 4, 45, 0.5, 0, 75, 1.0)

W3 and W4 display the same polar plot except W4 specifies grey grids with solid lines and maximum radius of 4, the angle increment is 45 degrees, the radius increment is 0.5, the minimum radius is 0, the labeled radial line is at 75 degrees and the first radial tic begins at 1.0.
XYPOLARPLOT creates a simple polar plot given angle and radius data. Polar grids are drawn and sized to the data.
A value of -1 for any optional argument specifies the default value.
See POLARGRID for more details on polar coordinate grids.