Learn R Programming

nima (version 0.6.2)

theme_nima: Nima's plotting theme

Description

Nima's ggplot2 theme: white background, colors optimized

Usage

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

Run this code
# NOT RUN {
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
# }

Run the code above in your browser using DataLab