scale Function (For GPL Axes)

Note: If you are specifying a size for a graph, refer to scale Function (For GPL Graphs) . If you are specifying a scale associated with a graphic element (like a bar or line) or a reference line (form.line), refer to scale Function (For GPL Graphic Elements and form.line) . 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).

Description

Specifies the scale to which an axis applies.

Examples

Figure 1. Example: Associating an axis with a named scale
SCALE: y2= linear(dim(2))
GUIDE: axis(scale(y2), label("Count"))