A clean ggplot2 theme based on ggplot2::theme_bw(), optimized for
publication-ready neuroimaging figures, with no minor gridlines and a
bottom legend.
Arguments
- base_size
Numeric. Base font size. Default
11.- base_family
Character. Base font family. Default
"", the device's standard sans-serif font (Helvetica or Arial on most systems), which works on every graphics device. Set"Arial"explicitly for devices that can use installed system fonts (e.g.raggor Cairo PNG); the basepdf()device does not know this family.
Examples
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) + geom_point() + theme_sci()