scale Function (For GPL Graphic Elements and form.line)

Note: If you are specifying a scale associated with an axis, refer to scale Function (For GPL Axes) . If you are specifying a size for a graph, refer to scale Function (For GPL Graphs) . If you are specifying a size for a page, refer to scale Function (For GPL Pages) .

Syntax

scale(<scale name> ...)

<scale name>. A scale previously defined by a SCALE statement. This is used when there are multiple scales in a single dimension (as in a "dual-axis" graph). You can specify multiple scales if the scales are associated with different dimensions. Use commas to separate the multiple scales.

Description

Specifies the scale to which a graphic element or reference line (form.line) applies.

Examples

Figure 1. Example: Associating a graphic element with a named scale
SCALE: y2= linear(dim(2))
ELEMENT: line(scale(y2), position(summary.count(x)))