View source: R/scale_symmetric.R
scale_x_symmetric | R Documentation |
Symmetric x continuous scale
scale_x_symmetric(
...,
data = NULL,
x = NULL,
symmetric = TRUE,
breaks = NULL,
breaks_n = 6,
expand = NULL,
expand_limits = NULL,
labels = NULL,
position = "bottom",
sec_axis = ggplot2::waiver(),
transform = "identity"
)
... |
Provided to force user argument naming etc. |
data |
A data frame or tibble. |
x |
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 x scale.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.