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. |
library("graphic") colors = grcolorscheme("grey") colors
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 |