Learn R Programming

oce (version 1.4-0)

oceColorsTurbo: Create colors similar to the google turbo scheme

Description

This uses the coefficients published (with Apache license) by google, as described by Mikhailo (2019).

Usage

oceColorsTurbo(n)

Arguments

n

number of colors to create.

References

Mikhailo, Anton. “Turbo, An Improved Rainbow Colormap for Visualization.” Google AI (blog), August 20, 2019. https://ai.googleblog.com/2019/08/turbo-improved-rainbow-colormap-for.html

See Also

Other things related to colors: colormap(), oceColors9B(), oceColorsCDOM(), oceColorsChlorophyll(), oceColorsClosure(), oceColorsDensity(), oceColorsFreesurface(), oceColorsGebco(), oceColorsJet(), oceColorsOxygen(), oceColorsPAR(), oceColorsPalette(), oceColorsPhase(), oceColorsSalinity(), oceColorsTemperature(), oceColorsTurbidity(), oceColorsTwo(), oceColorsVelocity(), oceColorsViridis(), oceColorsVorticity(), ocecolors

Examples

Run this code
# NOT RUN {
library(oce)
imagep(volcano, col=oceColorsTurbo(128),
       zlab="oceColorsTurbo")
# }

Run the code above in your browser using DataLab