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)
The number of colors to return.
Alpha values to be passed to rgb().
rgb()
A vector of blue scale colors.
# NOT RUN { { # Plot a colorbar using bathy.colors image(matrix(seq(100), 100), col=bathy.colors(100)) } # }
Run the code above in your browser using DataLab