A restrained, publication-ready ggplot2 theme with viridis defaults.
Arguments
- base_size
Base font size in points.
- base_family
Base font family.
- dark
Logical; use dark mode?
- ...
Additional arguments passed to
ggplot2::theme().
Value
A ggplot2::theme object.
See also
Other plots:
autoplot.sm_corpus(),
sm_palette_qualitative(),
sm_plot_bradford(),
sm_plot_citation_network(),
sm_plot_collab(),
sm_plot_equity_dashboard(),
sm_plot_evolution(),
sm_plot_heaps(),
sm_plot_landscape(),
sm_plot_lotka(),
sm_plot_production(),
sm_plot_thematic_map(),
sm_plot_top(),
sm_scale_color()
Examples
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) + geom_point() + sm_theme()