COORD Statement (GPL)

Syntax

COORD: <coord>

<coord>. A valid coordinate type or transformation function.

Description

Specifies a coordinate system for the graph. You can also embed coordinate systems or wrap a coordinate system in a transformation. When transformations and coordinate systems are embedded in each other, they are applied in order, with the innermost being applied first. Thus, mirror(transpose(rect(1,2))) specifies that a 2-D rectangular coordinate system is transposed and then mirrored.

Examples

Figure 1. Example: Polar coordinates for pie charts
COORD: polar.theta()
Figure 2. Example: 3-D rectangular coordinates
COORD: rect(dim(1,2,3))
Figure 3. Example: Embedded coordinate systems for paneled pie chart
COORD: rect(dim(2), polar.theta(dim(1)))
Figure 4. Example: Transposed coordinate system
COORD: transpose()