README.md

theme_x

theme_x is a ggplot2 custom theme that generates plots similar to Matplotlib's default.

The aesthetic is clean, uncluttered, and focuses the viewer's attention on the details of the plot.

By design, caption and subtitles are not included.

The usage is straight-forward. You just add theme_x() at the end of any ggplot2 plot object.

The inspiration for this small package comes from Jeffrey B. Arnold's ggthemes.

Package Installation

Run these 3 lines of code.

install.packages("devtools")

require(devtools)

install_github("xslates/theme_x")

Example Usage

Cars Dataset

library(ggplot2)
library(themex)

ggplot(cars, aes(speed, dist)) +
  geom_point() +
  labs(title = "Cars Dataset") +
  theme_x()


xslates/theme_x documentation built on Aug. 26, 2018, 3:22 p.m.