library(oce)
# Example 1
imagep(volcano, col=oceColorsPhase(128),
zlab="oceColorsPhase")
if (FALSE) {
# Example 2 (requires the cmocean package)
imagep(volcano, col=cmocean::cmocean("matter"),
zlab='cmocean::cmocean("matter")')}
if (FALSE) {
# Example 3 (requires the viridis package)
imagep(volcano, col=viridis::inferno,
zlab='viridis::inferno')}
Run the code above in your browser using DataLab