Skip to content

Instantly share code, notes, and snippets.

View CorradoLanera's full-sized avatar
🏠
Working from home

Corrado Lanera CorradoLanera

🏠
Working from home
View GitHub Profile
@emilyriederer
emilyriederer / ugliest-ggplot-theme.R
Last active May 11, 2023 06:35
A very, very ugly ggplot2 to demonstrate the wide variety of ggplot2 theme() options
library(ggplot2)
# sample data for plot ----
points <-
data.frame(
x = rep(1:10,3),
y = rep(1:10,3),
z = sort(rep(letters[1:2], 15)),
w = rep(letters[3:4], 15)
)
# ggplot using many theme options ----