ggplot2 theme matching vistool defaults
theme_vistool.Rdggplot2 theme matching vistool defaults
Arguments
- theme
Optional vistool theme object. Falls back to the active
vistool_theme()(global default) whenNULL.- ...
Additional arguments passed to
ggplot2::theme()to override defaults for a specific plot.
Value
A ggplot2::theme object that can be composed via + or passed to
ggplot2::theme_set().
Examples
ggplot2::theme_set(theme_vistool())
ggplot2::ggplot(mtcars, ggplot2::aes(wt, mpg)) +
ggplot2::geom_point() +
theme_vistool(legend.position = "bottom")