A minimal theme sized for final publication (Nature/Science column widths):
left-aligned titles, no top/right spines, light horizontal grid, compact
legend and 5-7 pt equivalent text.
Usage
lcz_theme_journal(
base_size = 11,
base_family = "sans",
grid = c("y", "both", "none"),
legend = c("right", "top", "bottom", "none"),
border = FALSE
)
Arguments
- base_size
Base font size in points at final figure size.
- base_family
Font family. "sans" maps to Helvetica/Arial.
- grid
Grid lines: "y" (default), "both" or "none".
- legend
Legend position: "right", "top", "bottom" or "none".
- border
Draw a thin panel border (default FALSE).
Value
A ggplot2 theme object.
Examples
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
geom_point() +
lcz_theme_journal()