scale_label_size | R Documentation |
This set of scales defines new size scales for edge labels in order to allow for separate sizing of edges and their labels.
scale_label_size_continuous( name = waiver(), breaks = waiver(), labels = waiver(), limits = NULL, range = c(1, 6), trans = "identity", guide = "legend" ) scale_label_size( name = waiver(), breaks = waiver(), labels = waiver(), limits = NULL, range = c(1, 6), trans = "identity", guide = "legend" ) scale_label_size_discrete(...) scale_label_size_binned( name = waiver(), breaks = waiver(), labels = waiver(), limits = NULL, range = c(1, 6), n.breaks = NULL, nice.breaks = TRUE, trans = "identity", guide = "bins" ) scale_label_size_manual(..., values, breaks = waiver(), na.value = NA) scale_label_size_identity(..., guide = "none")
name |
The name of the scale. Used as the axis or legend title. If
|
breaks |
One of:
|
labels |
One of:
|
limits |
One of:
|
range |
a numeric vector of length 2 that specifies the minimum and maximum size of the plotting symbol after transformation. |
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 |
guide |
A function used to create a guide or its name. See
|
... |
Arguments passed on to
|
n.breaks |
An integer guiding the number of major breaks. The algorithm
may choose a slightly different number to ensure nice break labels. Will
only have an effect if |
nice.breaks |
Logical. Should breaks be attempted placed at nice values
instead of exactly evenly spaced between the limits. If |
values |
a set of aesthetic values to map data values to. The values
will be matched in order (usually alphabetical) with the limits of the
scale, or with |
na.value |
The aesthetic value to use for missing ( |
A ggproto object inheriting from Scale
Other scale_edge_*:
scale_edge_alpha()
,
scale_edge_colour
,
scale_edge_fill
,
scale_edge_linetype()
,
scale_edge_shape()
,
scale_edge_size()
,
scale_edge_width()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.