Generate a sequence of colors for plotting bathymetric data.
bathy.colors(n)
generates a sequence of n
colors along a linear scale from light grey to pure blue.
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.
{ # Plot a colorbar using bathy.colors image(matrix(seq(100), 100), col=bathy.colors(100)) }
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.