scale_label_colour_continuous | R Documentation |
Scales for contour label aesthetics
scale_label_colour_continuous(
...,
aesthetics = c("label_colour"),
guide = ggplot2::guide_colorbar(available_aes = "label_colour")
)
scale_label_alpha_continuous(
...,
range = c(0.1, 1),
aesthetics = c("label_alpha")
)
scale_label_size_continuous(
name = waiver(),
breaks = waiver(),
labels = waiver(),
limits = NULL,
range = c(1, 6),
transform = "identity",
guide = "legend"
)
... |
Arguments passed on to
|
aesthetics |
Character string or vector of character strings listing the name(s) of the aesthetic(s) that this scale works with. This can be useful, for example, to apply colour settings to the colour and fill aesthetics at the same time, via aesthetics = c("colour", "fill"). |
guide |
Type of legend. Use "colourbar" for continuous colour bar, or "legend" for discrete colour legend. |
range |
Output range of alpha values. Must lie between 0 and 1. |
name |
The name of the scale. Used as the axis or legend title. If
|
breaks |
One of:
|
labels |
One of:
|
limits |
One of:
|
transform |
For continuous scales, the name of a transformation object or the object itself. Built-in transformations include "asn", "atanh", "boxcox", "date", "exp", "hms", "identity", "log", "log10", "log1p", "log2", "logit", "modulus", "probability", "probit", "pseudo_log", "reciprocal", "reverse", "sqrt" and "time". A transformation object bundles together a transform, its inverse,
and methods for generating breaks and labels. Transformation objects
are defined in the scales package, and are called |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.