View source: R/scales.R View source: R/scales-colourbar.R
| scale_svg_colour_gradient | R Documentation |
ggsvgAll these colour/fill scales use guide_colourbar() but by default,
this guide will only accept aesthetics of fill and colour.
All these colour/fill scales use guide_colourbar() but by default,
this guide will only accept aesthetics of fill and colour.
scale_svg_colour_gradient(
aesthetics,
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_distiller(
aesthetics,
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_gradient2(
aesthetics,
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_gradientn(
aesthetics,
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics),
colors
)
scale_svg_colour_viridis_c(
aesthetics,
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
option = "D",
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_distiller(
aesthetics,
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradient(
aesthetics,
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradient2(
aesthetics,
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradientn(
aesthetics,
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics),
colors
)
scale_svg_fill_viridis_c(
aesthetics,
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
option = "D",
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_gradient(
aesthetics,
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_distiller(
aesthetics,
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_gradient2(
aesthetics,
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_colour_gradientn(
aesthetics,
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics),
colors
)
scale_svg_colour_viridis_c(
aesthetics,
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
option = "D",
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_distiller(
aesthetics,
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradient(
aesthetics,
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradient2(
aesthetics,
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
scale_svg_fill_gradientn(
aesthetics,
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics),
colors
)
scale_svg_fill_viridis_c(
aesthetics,
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
option = "D",
values = NULL,
space = "Lab",
na.value = "grey50",
guide = ggplot2::guide_colorbar(available_aes = aesthetics)
)
aesthetics |
name of the aesthetic e.g. |
..., guide, low, high, space, na.value, type, palette, direction, values, mid, midpoint, colours, colors, alpha, begin, end, option |
see |
The two key changes to these scales compared to their ggplot2 originals are:
Default guide argument is now a guide_colourbar() object
which explicitly supports the current aesthetics
aesthetics is now a required argument
The two key changes to these scales compared to their ggplot2 originals are:
Default guide argument is now a guide_colourbar() object
which explicitly supports the current aesthetics
aesthetics is now a required argument
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.