Learn R Programming

optiRum (version 0.41.1)

theme_optimum: Produce an Optimum-standard base chart

Description

This theme no longer builds on the Stephen Few theme from ggthemes, but now produces a chart without an enclosing box, to produce a good baseline for charting in R. Gets called as would any typical theme.

Usage

theme_optimum(base_size = 14, base_family = "")

Arguments

base_size

Anchor font size

base_family

Font family to use

See Also

Other visualisation: multiplot()

Examples

Run this code
# NOT RUN {
library(ggplot2)
ggplot(data.frame(x=1:10,y=1:10),aes(x,y))+theme_optimum()+geom_line()

# }

Run the code above in your browser using DataLab