Description Usage Arguments Value Examples
default ggplot2 theme
1 2 3 4 5 6 7 | util.lh2.theme(
angle = 45,
legend.position = "right",
font.size = 12,
skip.axis = "",
only.axis = ""
)
|
angle |
int, rotation of x.axis.text |
legend.position |
char, 'right','left','top','bottom','none' |
font.size |
int font size of text |
skip.axis |
char, 'x','y', skip style setting for x,y axis |
only.axis |
char, 'x','y', only do style setting for x,y axis |
a ggplot2 theme
1 2 3 4 | library(ggplot2)
ggplot(mtcars, aes(mpg, wt)) +
geom_point() +
util.lh2.theme()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.