Create a simple theme for a graph.
gg_theme(
family = "",
size_title = 11,
size_subtitle = 10,
size_body = 10,
size_axis = 0.3,
size_ticks = 0.3,
size_gridlines = 0.2,
face_title = "bold",
face_subtitle = "plain",
face_body = "plain",
pal_title = "#000000",
pal_subtitle = "#000000",
pal_body = "#323232",
pal_axis = "#323232",
pal_ticks = "#323232",
pal_gridlines = "#D3D3D3",
gridlines = "horizontal"
)
The font for all text to use. Defaults to "".
The size of the title font. Defaults to 11.
The size of the subtitle font. Defaults to 10.
The size of all font 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 face of the title font. Defaults to "bold".
The face of the subtitle font. Defaults to "plain".
The face of all font 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 "#000000".
The colour palette for all font 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".
The colour palette for the vertical major gridlines. Defaults to "#D3D3D3".
Whether gridlines are "horizontal", "vertical", "both" or "none".
A ggplot theme.