scale_label_colour_continuous {metR} | R Documentation |
Scales for contour label aesthetics
Description
Scales for contour label aesthetics
Usage
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),
trans = "identity",
guide = "legend"
)
Arguments
... |
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:
|
trans |
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 |