theme_nima: Nima's plotting theme

Description Usage Arguments Value See Also Examples

View source: R/theme_nima.R

Description

Nima's ggplot2 theme: white background, colors optimized

Usage

1
2
3
theme_nima(base_size = 14, base_family = "Helvetica")

nima_theme(base_size = 14, base_family = "Helvetica")

Arguments

base_size

Base font size

base_family

Base font family

Value

An object as returned by theme

See Also

theme

Examples

1
2
3
4
5
library(ggplot2)
p <- ggplot(mtcars, aes(y = mpg, x = disp, color = factor(cyl)))
p <- p + geom_point() + scale_fill_nima() + scale_color_nima()
p <- p + theme_nima()
p

nhejazi/nima documentation built on March 10, 2020, 1:10 a.m.