jet.colors | R Documentation |
jet.colors(n)
generates a sequence of n
colors from dark blue to cyan to yellow to dark red. It
is similar to the default color schemes in Python's
matplotlib or MATLAB.
jet.colors(n, alpha = 1)
n |
The number of colors to return. |
alpha |
The transparency value of the colors. See
|
A vector of colors along the jet colorramp.
The core function of the package mmer
{
# Plot a colorbar with jet.colors
image(matrix(seq(100), 100), col=jet.colors(100))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.