ggtheme: ggTheme

theme_bw2R Documentation

ggTheme

Description

Custom ggTheme

Usage

theme_bw2(font_size = 10, font = "sans", line_size = 0.5)

theme_classic2(font_size = 10, font = "sans", line_size = 0.5)

Arguments

font_size

font_size

font

font: sans = Arial, serif = Times New Roman, any other fonts

line_size

line_size

Examples

library(ggplot2)
p <- ggplot(mtcars, aes(mpg, disp, color = cyl)) +
    geom_point()
p + theme_bw2(font_size = 15, line_size = 2)
p + theme_classic2(font_size = 15, line_size = 2)

yanpd01/yyeasy documentation built on Dec. 1, 2022, 10:58 p.m.