secondary_x_axis | R Documentation |
functions to add secondary and nested axis.
secondary_x_axis(...)
secondary_y_axis(...)
set_secondary_axis(..., position = waiver(), position_aes = "x")
guide_axis_filter(
...,
title = waiver(),
check.overlap = FALSE,
angle = NULL,
n.dodge = 1,
order = 0,
position = waiver()
)
... |
other parameters passing to:
|
position |
where this guide should be drawn: one of top, bottom, left, or right. |
position_aes |
one of "x" or "y". |
title |
A character string or expression indicating a title of guide.
If |
check.overlap |
silently remove overlapping labels, (recursively) prioritizing the first, last, and middle labels. |
angle |
Compared to setting the angle in |
n.dodge |
The number of rows (for vertical axes) or columns (for horizontal axes) that should be used to render the labels. This is useful for displaying labels that would otherwise overlap. |
order |
Used to determine the order of the guides (left-to-right, top-to-bottom), if more than one guide must be drawn at the same location. |
a guide object.
Hou Yun
## Not run:
as_md_tbl(mtcars) %>%
hyplot() +
geom_point() +
secondary_x_axis()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.