Last chance! 50% off unlimited learning
Sale ends in
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)
?rgb
for details.mmer
and mmer2
{
# Plot a colorbar with jet.colors
image(matrix(seq(100), 100), col=jet.colors(100))
}
Run the code above in your browser using DataLab