polar Coordinate Type (GPL)

Syntax

polar(dim(<numeric>), <function>, <coord>)

<numeric>. Numeric values (separated by commas) indicating the dimensions to which the polar coordinates apply. This is optional and is assumed to be the first two dimensions. See the topic dim Function (GPL) for more information.

<function>. One or more valid functions. These are optional.

<coord>. A valid coordinate type or transformation function. This is optional.

Description

Creates a polar coordinate system. This differs from the polar.theta coordinate system in that it is two dimensional. One dimension is associated with the radius, and the other is associated with the theta angle.

Examples

Figure 1. Example: Polar line chart
COORD: polar()
ELEMENT: line(position(date*close), closed(), preserveStraightLines())