DADiSP Worksheet Functions > Function Categories > 3D and 4D Graphics > MAPPALETTE
Sets the color palette for shading in the current Window.
MAPPALETTE(series)
series - Any series specifying the color indices.
mappalette({3, 12, 4, 0})
sets the current Window's palette to: cyan, lred, red, and black.
To assign specific RGB values for a color number, refer to the palette.mac file. MAPPALETTE is identical to SETPALETTE in function. However, because MAPPALETTE accepts a series as the color indices, it can be more useful when creating larger or complicated color palettes.