Skip to content

Commit

Permalink
vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Aug 16, 2024
1 parent 0778356 commit 0c7ef79
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions vignettes/seecolorscales.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,25 @@ p8 <- ggplot(d, aes(x, fill = x)) +
)
d <- data.frame(
x = names(tate_colors())
)
p9 <- ggplot(d, aes(x, fill = x)) +
geom_bar(width = 0.9) +
scale_fill_manual(values = tate_colors()) +
scale_y_continuous(labels = NULL, expand = c(0, 0)) +
guides(fill = "none") +
ylab(NULL) +
xlab(NULL) +
theme(
axis.text.x = element_text(angle = 90),
panel.grid = element_blank()
)
plots(
p1, p2, p3, p4, p5, p6, p7, p8,
p1, p2, p3, p4, p5, p6, p7, p8, p9,
n_columns = 1L,
tags = c("Social", "Flat", "Material", "Metro", "See", "Pizza", "Bluebrown", "Okabe-Ito")
tags = c("Social", "Flat", "Material", "Metro", "See", "Pizza", "Bluebrown", "Okabe-Ito", "Tate")
)
```

0 comments on commit 0c7ef79

Please sign in to comment.