Learn R Programming

survminer (version 0.2.1)

theme_classic2: ggplot2 classic theme with axis lines

Description

Create a ggplot2 classic theme with axis lines.

Usage

theme_classic2(base_size = 12, base_family = "")

Arguments

base_size
base font size
base_family
base font family

Examples

Run this code
p <- ggplot(mtcars, aes(x = wt, y = mpg)) +
   geom_point(aes(color = gear))

# Default plot
p

# Use theme_classic()
p + theme_classic()

# Use theme_classic2()
p + theme_classic2()

Run the code above in your browser using DataLab