color Function (For GPL Guides)

Note: If you are modifying the color for a graphic element (like a bar or point), refer to color Function (For GPL Graphic Elements) .

Syntax

color(color.<color constant>)

or

color(color."color value")

<color constant>. A constant indicating a specific color, such as red. See the topic Color Constants (GPL) for more information.

"color value". A specific value that indicates the hexadecimal RGB color components (for example, color."6666FF").

Description

Controls the color of guides, such as axes and reference lines.

Examples

Figure 1. Example: Specifying an axis color
GUIDE: axis(dim(2), color(color.blue))