View source: R/scale_symmetric.R
scale_y_symmetric | R Documentation |
Symmetric y continuous scale
scale_y_symmetric(
...,
data = NULL,
y = NULL,
symmetric = TRUE,
breaks = NULL,
breaks_n = 6,
expand = NULL,
expand_limits = NULL,
labels = NULL,
position = "left",
sec_axis = ggplot2::waiver(),
transform = "identity"
)
... |
Provided to force user argument naming etc. |
data |
A data frame or tibble. |
y |
An unquoted variable. |
symmetric |
|
breaks |
A |
breaks_n |
If |
expand |
Padding to the limits with the |
expand_limits |
Any values that the limits should encompass (e.g. |
labels |
A function that takes the breaks as inputs (e.g. |
position |
The position of the axis (i.e. |
sec_axis |
A secondary axis created with |
transform |
A transformation object (e.g. |
A ggplot2 continuous y scale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.