Skip to contents

Custom ggplot2 themes for creating publication-ready scientific figures. Custom ggplot2 Theme

Usage

theme_new(base_size = 7, base_family = "")

Arguments

base_size

Base font size. Default is 7.

base_family

Base font family. Default is "".

Value

A ggplot2 theme object

Details

A clean theme for scientific plots with white background and minimal grid lines.

Examples

if (FALSE) { # \dontrun{
library(ggplot2)
ggplot(mtcars, aes(wt, mpg)) +
  geom_point() +
  theme_new()
} # }