Last data update: 2014.03.03

R: ggplot2 classic theme with axis lines
theme_classic2R Documentation

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

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()

Results