Description Usage Arguments Examples
Adapted from http://stackoverflow.com/a/36979201/3498910.
1 2 | rotate_axis_text(angle, position = "x", hjust = "auto",
vjust = "auto")
|
angle |
Angle to apply, in degrees |
position |
One of "x" or "y". Defaults to "x". |
hjust, vjust |
Horizontal and vertical adjustement. |
1 2 3 4 5 | library("ggplot2")
df <- data.frame(x=.5, y=.5)
ggplot(df, aes(x=x, y=y)) + geom_point() +
rotate_axis_text(60)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.