DotRTheme: Data on the Rocks Theme

Description Usage Arguments Examples

View source: R/DotRTheme.R

Description

Default ggplot theme for Data on the Rocks blog posts

Usage

1
2
DotRTheme(axis.text.size = 16, axis.title.size = 16, title.size = 20,
  legend.position = "none")

Arguments

axis.text.size

axis text size (defaults to 16)

axis.title.size

axis title size (defaults to 16)

title.size

title size (degaults to 20)

legend.position

positions of the legend (defaults to none)

Examples

1
2
3
4
Data <- data.frame(x=seq(1:10), y=rnorm(n=10))
p <- ggplot(Data, aes(x=x, y=y))+ geom_point() +
    DotRTheme()
print(p)

sbujarski/SpPack documentation built on Sept. 24, 2020, 5:54 p.m.