View source: R/guide_axis_textpath.R
guide_axis_textpath | R Documentation |
This is a specialised guide used in coord_radial()
to represent
the theta position scale.
guide_axis_textpath(
title = waiver(),
halign = "center",
rich = FALSE,
minor.ticks = FALSE,
cap = "none",
order = 0,
position = waiver()
)
title |
A character string or expression indicating a title of guide.
If |
halign |
A |
rich |
A |
minor.ticks |
Whether to draw the minor ticks ( |
cap |
A |
order |
A positive |
position |
Where this guide should be drawn: one of top, bottom, left, or right. |
A Guide
ggproto object that can be added to a plot through a
scale or the guides()
function.
ggplot(mpg, aes(class, displ)) +
geom_boxplot(staplewidth = 0.5) +
coord_radial() +
guides(theta = "axis_textpath")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.