Description Usage Arguments Examples
A clean theme with inward tickmarks, (optional) dotted gridlines and
a few other common options. Based on ggplot2::theme_grey()
.
1 2 | theme_vmisc(base_size = 12, base_family = "Helvetica", legend = "none",
grid = FALSE, facet_label = FALSE)
|
base_size |
Text size (defaults to 12). |
base_family |
Text font family (defaults to Helvetica). |
legend |
Position of legend. One of |
grid |
Display (major) gridlines? Defaults to FALSE. |
facet_label |
Display facet labels? Defaults to FALSE. |
1 2 3 4 5 | library(ggplot2)
library(vmisc)
p <- ggplot(mtcars, aes(x = mpg, y = wt)) +
geom_point()
p + theme_vmisc()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.