scale Size Area
Continuous scale for size (~radius) that maps 0 value to 0 size.
Parameters
The upper limit of size that the input values are mapped to.
The name of the scale - used as the axis label or the legend title. If null, the default, the name of the scale is taken from the first mapping used for that aesthetic.
A list of data values specifying the positions of ticks, or a dictionary which maps the tick labels to the breaks values.
A list of labels on ticks, or a dictionary which maps the breaks values to the tick labels.
The maximum label length (in characters) before trimming is applied.
A pair of numbers specifying the data range for the scale. Use null
to refer to default min/max. Set limits if you want values to be consistent across multiple plots.
Missing values will be replaced with this value.
Specifies the format pattern for labels on the scale.
A result returned by guideLegend()
function or "none" to hide the guide.
Name of built-in transformation ("identity", "log10", "log2", "symlog", "reverse", "sqrt").
Format patterns in the format
parameter can be just a number format (like "d") or a string template where number format is surrounded by curly braces: "{d} cylinders". Note: the "$" must be escaped as "\$". For more info see: formats.html
Examples:
".2f" -> "12.45"
"Score: {.2f}" -> "Score: 12.45"
"Score: {}" -> "Score: 12.454789"