ncl_gsplci man page

GSPLCI (Polyline color index) — sets the polyline color index.

Synopsis

CALL GSPLCI (COLI)

C-Binding Synopsis

#include <ncarg/gks.h>

void gset_line_colr_ind(Gint line_colr_ind);

Description

COLI
(Integer, Input) - A color index.

Usage

All lines drawn with calls to the GPL output primitive will be drawn with the color associated with index COLI until GSPLCI is called again and a new index is assigned.

For all GKS output primitives, color is assigned using a color index. The color indices run from 0 to 255, where 0 is the background color index and 1 is the foreground color index. Color values are associated with indices by calls to the GKS routine GSCR. If a color index is used that has no user-assigned color value set in a GSCR call, then a device-dependent color value will be assigned to that index.

Access

To use GKS routines, load the NCAR GKS-0A library ncarg_gks.

See Also

Online: gpl, gsln, gslwsc, gscr, gqln, gqlwsc, gqplci, dashline, gset_line_colr_ind

Hardcopy: User's Guide for NCAR GKS-0A Graphics; NCAR Graphics Fundamentals, UNIX Version

Info

March 1993 UNIX NCAR GRAPHICS