KPG1_PGCOL

Obtains a marker colour, given a colour specification

Description:

This routine obtains a PGPLOT colour index to be used in an image display from a supplied string. The interpretation of this string provides a number of ways to specify the colour index requested. The options are as follows.

An error is reported if the string does not conform to any of these formats.

Invocation

CALL KPG1_PGCOL( COL, LP, UP, COLIND, STATUS )

Arguments

COL = CHARACTER ( ) (Given)
The string specifying the required colour.
LP = INTEGER (Given)
The lowest non-reserved colour index.
UP = INTEGER (Given)
The highest non-reserved colour index.
COLIND = INTEGER (Returned)
The colour index of the selected colour.
STATUS = INTEGER (Given and Returned)
The global status.

Prior Requirements