transparency Function (For GPL Graphic Elements)

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

Syntax

transparency(<algebra>)

or

transparency(transparency."transparency value")

or

transparency(<statistic function>)

<algebra>. Graph algebra using one variable or a blend of variables. The variable value results in a different transparency value. For example, if you were creating a stacked bar chart, the argument of the transparency function would be the variable that controls the stacking. Each stack segment would have a different degree of transparency.

"transparency value". A value between 0 and 1 that indicates the level of transparency. A value of 1 indicates full transparency, while a value of 0 indicates no transparency (completely opaque).

<statistic function>. A statistic function.

Description

Specifies the transparency of the associated graphic element. You can use another variable or variables to control the transparency or set a fixed value. To specify the transparency explicitly for the fill or border of the graphic element, you can append .interior or .exterior to the function. Using transparency without a qualifier implies transparency.interior.

Examples

Figure 1. Example: Using a variable to control transparency
ELEMENT: point(position(x*y), transparency(z))
Figure 2. Example: Specifying a value for transparency
ELEMENT: interval(position(x*y), transparency(transparency."0.6"))
Figure 3. Example: Specifying a transparency for the fill
ELEMENT: interval(position(x*y), 
         transparency.interior(transparency."0.8"))

Statistic Functions

See GPL Functions .