powered by
generate a gray scale color palette
JBLACK(n, acol=rgb(0,0,0))
n characters used for color palette
number of colors to produce
RGB color
Jonathan M. Lees<jonathan.lees.edu>
Creates a black color palette suitable for replacing rainbow for B/W color plots. This is inserted in case user needs to completely elliminate color from a plot that uses color palettes for fixing colors.
shade.col, rainbow, colors
pal <- JBLACK(100)
Run the code above in your browser using DataLab