Main theme components
| Plot | Panel | Axis | Legend | Strip |
|---|---|---|---|---|
| background | background | title | background | background |
| title | border | text | key | placement |
| subtitle | grid | ticks | title | text |
| caption | spacing | line | text | |
| margin | position |
Visualizing Innovation
Themes
November 27, 2023



| Plot | Panel | Axis | Legend | Strip |
|---|---|---|---|---|
| background | background | title | background | background |
| title | border | text | key | placement |
| subtitle | grid | ticks | title | text |
| caption | spacing | line | text | |
| margin | position |
library(magick)
logo <- image_read("patentamt.png")
# png("finalplot.png", bg = "white", width = 8, height = 6, res = 320, units = "in")
mtcars |> ggplot(aes(x = wt, y = mpg)) +
geom_point() +
labs(title = "Chart with a logo", caption = "Figure: @matschnetzer") +
theme_minimal()
grid::grid.raster(logo, x = 0.03, y = 0.01, just = c('left', 'bottom'), width = unit(1.3, 'in'))
# dev.off()

PI 0822 Economic Policy (Applied Track) | Winter term 2023