Learn R Programming

tvthemes (version 1.0.0)

theme_parksAndRecLight: theme_parksAndRecLight

Description

Parks & Recreation light theme, Recommended font: "Titillium Web"

Usage

theme_parksAndRecLight(text.font = NULL, title.font = NULL,
  legend.font = NULL, title.size = 20, text.size = 16,
  subtitle.size = 14, axis.title.size = 14, axis.text.size = 12,
  legend.title.size = 14, legend.text.size = 12,
  title.color = "grey20", subtitle.color = "grey20",
  text.color = "grey20", axis.title.color = "grey20",
  axis.text.color = "grey20", legend.title.color = "grey20",
  legend.text.color = "grey20", legend.position = "bottom",
  ticks = FALSE)

Arguments

text.font

text font, Default: NULL

title.font

title font, Default: NULL

legend.font

legend font, Default: NULL

title.size

title font size, Default: 20

text.size

text font size, Default: 16

subtitle.size

subtitle font size, Default: 14

axis.title.size

axis title font size, Default: 14

axis.text.size

axis text font size, Default: 12

legend.title.size

legend title font size, Default: 14

legend.text.size

legend text font size, Default: 12

title.color

title color, Default: "grey20"

subtitle.color

subtitle.color, Default: "grey20"

text.color

text color, Default: "grey20"

axis.title.color

axis title color, Default: "grey20"

axis.text.color

axis text color, Default: "grey20"

legend.title.color

legend title color, Default: "grey20"

legend.text.color

legend text color, Default: "grey20"

legend.position

legend position, Default: "bottom"

ticks

add axis ticks, Default: FALSE

Details

Actual font: 'Champion HTF-Heavyweight'

See Also

[ggplot2::theme]

Examples

Run this code
# NOT RUN {
library(ggplot2)

ggplot(airquality, aes(x = Day, y = Temp,
     group = as.factor(Month), color = as.factor(Month))) +
     geom_point(size = 2.5) +
     scale_color_parksAndRec() +
     theme_parksAndRecLight()
# }

Run the code above in your browser using DataLab