Lattice and ggplot2 provide themes for their plots, while with base R plots,
one specifies appearance through par()
. chart_theme()
tries to get the
plot appearance as uniform as possible between the three plot engines. So,
setting themes this way change the appearance of all three kinds of plots.
Usage
chart_theme(theme)
theme_sciviews(font_size = 12, font_family = "", line_size = 0.5)
theme_sciviews_lattice(...)
theme_sciviews_graphics(...)
theme_svgray()
theme_svgray_lattice(...)
theme_svgray_graphics()
theme_svmap()
theme_svmap_lattice()
theme_svmap_graphics()
Arguments
- theme
The theme to apply (character string).
- font_size
The default size font for this theme.
- font_family
The default font family in this theme.
- line_size
The default line size in this theme.
- ...
Arguments passed to
ggplot2like()
, the most used beingn=
for the number of colors to generate in the palette.