bathy.colors(n)
generates a sequence of $n$
colors along a linear scale from light grey to pure blue.bathy.colors(n, alpha = 1)
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