scale Function (For GPL Pages)

Note: If you are specifying a scale associated with an axis, refer to scale Function (For GPL Axes) . 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 graph, refer to scale Function (For GPL Graphs) .

Syntax

scale(<value>, <value>)

<value>. Indicates an absolute value for the page size. The first value indicates the x component of the size (width), and the second value indicates the y component of the size (height). Units can be included with either value (e.g., 600px, 15cm, or 5in). If units are omitted, they are assumed to be pixels.

Description

Specifies the size of the graph.

Examples

Figure 1. Example: Sizing a visualization
PAGE: begin(scale(500px, 400px))