Tootfinder

Opt-in global Mastodon full text search. Join the index!

@sascha_wolfer@fediscience.org
2025-08-20 14:39:27

I have often been unhappy that the line type in a #ggplot2 legend is not clearly visible. Today, I found a simple solution: simply use
theme(legend.key.width = unit(1, "cm"))
Replace 1 with any other value that you like (not too small, of course!).
#rstats

@datascience@genomic.social
2025-08-02 10:00:01

"Graphic Design with #ggplot2": All material from this 2 day workshop can be found at rstudio-conf-2022.github.io/gg