ncl_gset_line_colr_ind - Man Page

sets the polyline color index.

Synopsis

#include <ncarg/gks.h>

void gset_line_colr_ind(Gint line_colr_ind);

Description

line_colr_ind

(Input) - A color index.

Usage

All lines drawn with calls to the gpolyline output primitive  will be drawn with the color associated with index line_colr_ind  until gset_line_colr_ind 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 gset_colr_rep. If a color index is used that has no user-assigned color value set in a gset_colr_rep call, then a device-dependent color value will be assigned to that index.

Access

To use the GKS C-binding routines, load the ncarg_gks and ncarg_c libraries.

See Also

Online: gpolyline(3NCARG), gset_linetype(3NCARG), gset_linewidth(3NCARG), gset_colr_rep(3NCARG), ginq_linetype(3NCARG), ginq_linewidth(3NCARG), ginq_line_colr_ind(3NCARG), dashline(3NCARG), gks(3NCARG), ncarg_gks_cbind(3NCARG)

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

Info

March 1993 UNIX NCAR GRAPHICS