theme_eem: ggplot color theme for enelmargen.org

Description Usage Arguments Details Examples

View source: R/theme.R

Description

Style plots used in www.enelmargen.org as of july-2015.

Usage

1
2
3
4
5
6
theme_eem(
  font_size = 20,
  base_family = "Verdana",
  legend_bottom = TRUE,
  no_legendname = TRUE
)

Arguments

font_size

font size. Default = 20.

base_family

base family. Default = Verdana.

legend_bottom

will the legend be at the bottom? Default = TRUE

no_legendname

will the legend have no title? Default = TRUE

Details

theme_eem implements the standard redish-brown background theme. theme_eem_white implements a variant with a white panel and background. theme_eem_pdf implements standard coloring theme optimized for use in rmarkdown to pdf documents.

Examples

1
2
3
4
5
6
library(ggplot2)
library(eem)
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
q <- (qplot(carat, price, data=dsamp, colour=clarity)
     + labs(title = "Diamonds Are Forever"))
q + theme_eem()

Eflores89/eem documentation built on June 30, 2020, 2:53 a.m.