X11 Graphics Device Colormap Specifications

Each of these datasets contains a vector of X11 resource specification strings that indicate a color scheme for the X11 graphics device. They specify which colors to use, the number of halftones for image plots and filled polygons, and which color to use as the lowest value of an image plot. A dataset's specifications can be implemented by passing it to the X11 graphics device function.

black.wb:
black on a white background with 15 halftone levels for image plots and filled polygons.
white.bb:
white on a black background with 15 halftone levels for image plots and filled polygons.
gray.wb:
gray scale image plots, 5 halftones for filled polygons, and black lines on a white background.
gray.bb:
gray scale image plots, 5 halftones for filled polygons, and white lines on a black background.
contrast:
six contrasting colors (yellow, cyan, magenta, green, blue, red) on a black background for lines and filled polygons. Images are made with 15 halftones scaled between black and yellow.
cyanred:
the image spectrum goes from cyan to gray to red. (Lines and filled polygons as per contrast.)
heatA:
the image spectrum is suggestive of heat, going from black to blue to magenta to red to yellow to white. (Lines and filled polygons as per contrast.)
heatB:
the image spectrum is similar to heatA, except cyan is substituted for magenta and green is substituted for red. (Lines and filled polygons as per contrast.)
vlight:
the image spectrum is suggestive of the spectrum of visible light, going from red to yellow to green to cyan to blue to magenta. (Lines and filled polygons as per contrast.)
topograph:
the image spectrum suggests a topographical map, ranging from navy blue at the bottom (to indicate water) to white at the top (to indicate snow-caps). (Lines and filled polygons as per contrast.)

Certain colormaps are more appropriate for certain hardware. Obviously, black.wb and white.bb are the only two you could use on black and white monitors; similarly gray.wb and gray.bb are suited to grayscale monitors. Contrast is appropriate for color monitors with scarce colormap resources, since it only allocates (at most) 7 new colormap entries. The remaining datasets work best with color monitors that have at least 64 entries in their colormaps; each of them uses 56 colors.


SEE ALSO:
X11 , image , par .

EXAMPLES:
X11(xcm.vlight)

my.xcm <- vi(xcm.contrast)