origin Function (For GPL Graphs)

Note: If you are modifying the origin for a scale, refer to origin Function (For GPL Scales) .

Syntax

origin(<value>, <value>)

<value>. Indicates an absolute value or a percentage for the origin of the graph. The value is relative to the top left corner of the page and does not include axis labels. The first value indicates the x value relative to this position, and the second value indicates the y value relative to this position. Units or a percent sign can be included with the value (e.g., 30px, 5cm, or 25%). If units are omitted, they are assumed to be pixels. Percentages are proportional to the whole page.

Description

Specifies the position of the graph relative to the top left corner of the page.

Examples

Figure 1. Example: Positioning a graph with absolute units
GRAPH: start(origin(2in, 4in))
Figure 2. Example: Positioning a graph with percentages
GRAPH: start(origin(10%, 100%))