A clean ggplot2 theme built on ggplot2::theme_minimal() with typography
and spacing consistent with Circadia Lab figures. Defaults to horizontal
gridlines only, with solid axis lines on the left and bottom.
Arguments
- base_size
Base font size in points. Default
14.- base_family
Base font family. Default
""(ggplot2 default).- grid
Which grid lines to show. One of
"none"(default),"y"(horizontal only),"xy"(both),"x"(vertical only).- legend_position
Position of the legend passed to
ggplot2::theme(). Default"right".
Value
A ggplot2::theme() object.
Examples
library(ggplot2)
ggplot(mtcars, aes(wt, mpg, colour = factor(cyl))) +
geom_point(size = 2) +
scale_colour_circadia() +
theme_circadia()