Description Usage Arguments Value Examples
bathy.colors(n)
generates a sequence of n
colors along a linear scale from light grey to pure blue.
1 | bathy.colors(n, alpha = 1)
|
n |
The number of colors to return. |
alpha |
Alpha values to be passed to |
A vector of blue scale colors.
1 2 3 4 | {
# Plot a colorbar using bathy.colors
image(matrix(seq(100), 100), col=bathy.colors(100))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.