chart_theme: Select chart theme

View source: R/chart_theme.R

chart_themeR Documentation

Select chart theme

Description

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 being ⁠n=⁠ for the number of colors to generate in the palette.

See Also

chart(), theme(), trellis.par.set()

Examples

# TODO..

SciViews/chart documentation built on June 3, 2024, 7:26 a.m.