theme_PPT: Title

Description Usage Arguments Value Examples

View source: R/theme_PPT.R

Description

Title

Usage

1
theme_PPT(size_text = 14, legend.key.size.v = 1.5)

Arguments

size_text

integer

legend.key.size.v

integer

Value

theme

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
library(ggplot2)
mtcars2 <- within(mtcars, {
vs <- factor(vs, labels = c("V-shaped", "Straight"))
am <- factor(am, labels = c("Automatic", "Manual"))
cyl  <- factor(cyl)
gear <- factor(gear)
})
p1 <- ggplot(mtcars2) +
geom_point(aes(x = wt, y = mpg, colour = gear)) +
labs(title = "Fuel economy declines as weight increases",
      subtitle = "(1973-74)",
      caption = "Data from the 1974 Motor Trend US magazine.",
      tag = "Figure 1",
      x = "Weight (1000 lbs)",
      y = "Fuel economy (mpg)",
      colour = "Gears")
      p1
      p1 + theme_PPT(16)

LauricF/utillf documentation built on Dec. 18, 2021, 4:32 a.m.