scale_edge_colour | R Documentation |
This set of scales defines new colour scales for edge geoms equivalent to the
ones already defined by ggplot2. The parameters are equivalent to the ones
from ggplot2 so there is nothing new under the sun. The different geoms will
know whether to use edge scales or the standard scales so it is not necessary
to write edge_colour
in the call to the geom - just use colour
.
scale_edge_colour_hue(
...,
h = c(0, 360) + 15,
c = 100,
l = 65,
h.start = 0,
direction = 1,
na.value = "grey50",
aesthetics = "edge_colour"
)
scale_edge_colour_brewer(
...,
type = "seq",
palette = 1,
direction = 1,
aesthetics = "edge_colour"
)
scale_edge_colour_distiller(
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_colour_gradient(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_colour_gradient2(
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_colour_gradientn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour",
colors
)
scale_edge_colour_grey(
...,
start = 0.2,
end = 0.8,
na.value = "red",
aesthetics = "edge_colour"
)
scale_edge_colour_identity(..., guide = "none", aesthetics = "edge_colour")
scale_edge_colour_manual(
...,
values,
aesthetics = "edge_colour",
breaks = waiver(),
na.value = "grey50"
)
scale_edge_colour_viridis(
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
discrete = FALSE,
option = "D",
aesthetics = "edge_colour"
)
scale_edge_colour_steps(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_colour_steps2(
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_colour_stepsn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour",
colors
)
scale_edge_colour_fermenter(
...,
type = "seq",
palette = 1,
direction = -1,
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_colour_continuous(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_colour_discrete(
...,
h = c(0, 360) + 15,
c = 100,
l = 65,
h.start = 0,
direction = 1,
na.value = "grey50",
aesthetics = "edge_colour"
)
scale_edge_colour_binned(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_color_hue(
...,
h = c(0, 360) + 15,
c = 100,
l = 65,
h.start = 0,
direction = 1,
na.value = "grey50",
aesthetics = "edge_colour"
)
scale_edge_color_brewer(
...,
type = "seq",
palette = 1,
direction = 1,
aesthetics = "edge_colour"
)
scale_edge_color_distiller(
...,
type = "seq",
palette = 1,
direction = -1,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_color_gradient(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_color_gradient2(
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_color_gradientn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour",
colors
)
scale_edge_color_grey(
...,
start = 0.2,
end = 0.8,
na.value = "red",
aesthetics = "edge_colour"
)
scale_edge_color_identity(..., guide = "none", aesthetics = "edge_colour")
scale_edge_color_manual(
...,
values,
aesthetics = "edge_colour",
breaks = waiver(),
na.value = "grey50"
)
scale_edge_color_continuous(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_colourbar",
aesthetics = "edge_colour"
)
scale_edge_color_discrete(
...,
h = c(0, 360) + 15,
c = 100,
l = 65,
h.start = 0,
direction = 1,
na.value = "grey50",
aesthetics = "edge_colour"
)
scale_edge_color_viridis(
...,
alpha = 1,
begin = 0,
end = 1,
direction = 1,
discrete = FALSE,
option = "D",
aesthetics = "edge_colour"
)
scale_edge_color_steps(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_color_steps2(
...,
low = muted("red"),
mid = "white",
high = muted("blue"),
midpoint = 0,
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_color_stepsn(
...,
colours,
values = NULL,
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour",
colors
)
scale_edge_color_fermenter(
...,
type = "seq",
palette = 1,
direction = -1,
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
scale_edge_color_binned(
...,
low = "#132B43",
high = "#56B1F7",
space = "Lab",
na.value = "grey50",
guide = "edge_coloursteps",
aesthetics = "edge_colour"
)
A ggproto object inheriting from Scale
Other scale_edge_*:
scale_edge_alpha()
,
scale_edge_fill
,
scale_edge_linetype()
,
scale_edge_shape()
,
scale_edge_size()
,
scale_edge_width()
,
scale_label_size()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.