GENOVA_colour_scales | R Documentation |
These scale functions create colour gradients that have been created to be perceptually linear for the sequential scales and perceptually triangular for the divergent scales.
scale_colour_GENOVA(
...,
palette = NULL,
na.value = "grey50",
guide = "colourbar",
aesthetics = "colour"
)
scale_fill_GENOVA(..., aesthetics = "fill")
scale_colour_GENOVA_div(
...,
palette = "divergent",
midpoint = NA,
na.value = "grey50",
guide = "colourbar",
aesthetics = "colour"
)
scale_fill_GENOVA_div(..., aesthetics = "fill")
A ScaleContinuous
gg-object.
The GENOVA colours
description.
## Not run:
require(ggplot2)
p <- ggplot(faithfuld,
aes(waiting, eruptions, fill = density)) +
geom_tile()
p + scale_fill_GENOVA()
p + scale_fill_GENOVA_div()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.