Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: graphic
See also: dispdot freecolor createcolor

Quantlet: grcolorscheme
Description: Returns a vector of rgb colors.

Usage: (outColors)=grcolorscheme(inColorScheme)
Input:
inColorScheme String. The color scheme to be returned. Valid are: "topographic", "greyscale"
Output:
outColors n x 3 vector. Can be treated as rgb values for the colors of inColorScheme.

Note:

Example:

library("graphic")

colors = grcolorscheme("grey")

colors

Result:

Contents of colors

[1,]        0        0        0 

[2,]       30       30       30 

[3,]       60       60       60 

[4,]       90       90       90 

[5,]      120      120      120 

[6,]      150      150      150 

[7,]      180      180      180 

[8,]      210      210      210 

[9,]      240      240      240 


Library: graphic
See also: dispdot freecolor createcolor

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Stephan R. W. Lauer, 990224
(C) MD*TECH Method and Data Technologies, 21.9.2000