Previous Page | Next Page

Annotate Dictionary

COLOR Variable



Specifies the color used by the function.
Type: character
Length: 8 for color codes and up to 64 for color names
Default:
  1. first color in color list of the COLORS= graphics option

  2. first color in device's default color list.


Syntax
Functions

Syntax

COLOR='color';

color

specifies any SAS/GRAPH color name. See SAS/GRAPH Colors and Images for more information about specifying colors.


Functions

The COLOR variable is function dependent.

If function is... then the COLOR variable specifies...
BAR the color that outlines and, optionally, fills the bar if a pattern is specified in the STYLE (patterns) variable. If no pattern is specified, the color value is applied only to the outline of the bar.
ARROW the color of the arrow.
DRAW, DRAW2TXT the color of the line.
FRAME the color of the outline of the frame. If a fill pattern is specified, color also determines the color of the inside of the frame.
LABEL the color of the text.
PIE the color for the pie slice if a pattern is specified with the STYLE (patterns) variable. If no pattern is specified, color determines the color of the outline of the pie slice.
POINT the color of the point.
POLY the fill color for the interior of the polygon if a pattern is specified with the STYLE variable. If the STYLE variable is missing or EMPTY, color is ignored. Use the POLYCONT function to specify the outline color.
POLYCONT the color that outlines the polygon when used with the first POLYCONT function. COLOR is ignored for subsequent POLYCONT functions in the POLYCONT sequence.
SYMBOL the color that draws the symbol.

Previous Page | Next Page | Top of Page