JBLACK | R Documentation |
generate a gray scale color palette
JBLACK(n, acol=rgb(0,0,0))
n |
number of colors to produce |
acol |
RGB color |
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.
n characters used for color palette
Jonathan M. Lees<jonathan.lees.edu>
shade.col, rainbow, colors
pal <- JBLACK(100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.