See ggplot2::scale_colour_gradient()
for more information
scale_extrude_face_fill_gradient(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = FALSE,
aesthetics = "extrude_face_fill"
)scale_extrude_face_fill_gradient2(
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = "colourbar",
aesthetics = "extrude_face_fill"
)
scale_extrude_face_fill_gradientn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "colourbar",
aesthetics = "extrude_face_fill",
colors
)
scale_extrude_face_fill_gradientn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "colourbar",
aesthetics = "extrude_face_fill",
colors
)
Colours for low and high ends of the gradient.
See scales::seq_gradient_pal
, scale_colour_hue
, ggplot2::continuous_scale
Type of legend. Use `"colourbar"` for continuous colour bar, or `"legend"` for discrete colour legend.
Vector of colours to use for n-colour gradient.
if colours should not be evenly positioned along the gradient
this vector gives the position (between 0 and 1) for each colour in the
colours
vector. See rescale()
for a convenience function
to map an arbitrary range to between 0 and 1.
`scale_*_gradient` creates a two colour gradient (low-high), `scale_*_gradient2` creates a diverging colour gradient (low-mid-high), `scale_*_gradientn` creates a n-colour gradient.