theme_readable: ggplot2 theme

Description Usage Arguments See Also Examples

Description

Theme intended to make ggplot2 more readable when used in presentation or papers. Background and major grid lines were dimed and minor grid lines removed to focus the attention on the data.

Usage

1
theme_readable(base_size = 12, legend_position = "right")

Arguments

base_size

base font size

legend_position

position of the legend ("none", "left", "right", "bottom", "top", or two-element numeric vector)

See Also

ggtheme, theme

Examples

1
2
3
4
5
6
## Not run: 
ggplot(diamonds, aes(x = price, y = carat, color = cut)) + 
 geom_point(alpha = 0.5) + 
 theme_readable(legend_position = 'top')

## End(Not run)

guiastrennec/ggplus documentation built on June 17, 2019, 1:04 p.m.