DEPRECATED Quick theme for a ggplot visualisation.
gg_theme(
font = "",
font_title = NULL,
font_subtitle = NULL,
font_body = NULL,
size_title = 11,
size_subtitle = 10,
size_body = 10,
size_axis = 0.3,
size_ticks = 0.3,
size_grid = 0.2,
style_title = "bold",
style_subtitle = "plain",
style_body = "plain",
pal_title = "#000000",
pal_subtitle = "#323232",
pal_body = "#323232",
pal_axis = "#323232",
pal_ticks = "#323232",
pal_background = c("#ffffff", "#ffffff"),
pal_grid = "#D3D3D3",
y_grid = FALSE,
x_grid = FALSE,
gridlines_v = NULL,
gridlines_h = NULL,
void = FALSE
)
A ggplot theme.
The font for all text to use. Defaults to "".
The font for the title. If NULL, inherits from font argument.
The font for the subtitle. If NULL, inherits from font argument.
The font for the subtitle. If NULL, inherits from font argument.
The size of the title font. Defaults to 11.
The size of the subtitle font. Defaults to 10.
The size of all text other than the title or subtitle. Defaults to 10.
The size of the axis. Defaults to 0.3.
The size of the ticks. Defaults to 0.3.
The size of the vertical major gridlines. Defaults to 0.2.
The style of the title font. Defaults to "bold".
The style of the subtitle font. Defaults to "plain".
The style of all text other than the title or subtitle. Defaults to "plain".
The colour palette for the title font. Defaults to "#000000".
The colour palette for the subtitle font. Defaults to "#323232".
The colour palette for all text other than the title or subtitle. Defaults to "#323232".
The colour palette for the axis. Defaults to "#323232".
The colour palette for the ticks. Defaults to "#323232".
A two colour vector. The first colour if for the panel (and legend key). The second colour is for the rest of the background.
The colour palette for the vertical major gridlines. Defaults to "#D3D3D3".
TRUE or FALSE of whether to show hotizontal gridlines.
TRUE or FALSE of whether to show vertical gridlines.
DEPRECATED. Use x_grid.
DEPRECATED. Use y_grid.
TRUE or FALSE of whether to drop all axis lines, ticks and x and y labels. Useful for maps. Defaults to FALSE.