size Function (For GPL Graphic Elements)

Note: If you are modifying the size for a guide, refer to size Function (For GPL Guides) .

Syntax

size(<algebra>)

or

size(size."size value")

or

size(size.<constant>)

or

size(<statistic function>)

<algebra>. Graph algebra using one variable or a blend of variables. This is not available for line elements.

"size value". A specific value that indicates a size. This can be a percentage of the available space (for example, 40%) or a number with units (for example, 2in).

<constant>. A size constant. See the topic Size Constants (GPL) for more information.

<statistic function>. A statistic function.

Description

Specifies the size of the individual graphic elements.

Examples

Figure 1. Example: Using a variable to control size
ELEMENT: point(position(x*y), size(z))
Figure 2. Example: Specifying a percentage for size
ELEMENT: interval(position(x*y), size(size."60%"))
Figure 3. Example: Specifying a value for size
ELEMENT: interval(position(x*y), size(size."6px"))
Figure 4. Example: Specifying a constant for size
ELEMENT: interval(position(x*y), size(size.large))

Statistic Functions

See GPL Functions .