powered by
bathy.colors(n) generates a sequence of \(n\) colors along a linear scale from light grey to pure blue.
bathy.colors(n)
bathy.colors(n, alpha = 1)
A vector of blue scale colors.
The number of colors to return.
Alpha values to be passed to rgb().
rgb()
{ # Plot a colorbar using bathy.colors image(matrix(seq(100), 100), col=bathy.colors(100)) }
Run the code above in your browser using DataLab