使用atop()
时如何完全左对齐文本?
library(tidyverse)
mtcars %>%
mutate(cyl = str_c("atop(bold(", cyl, "~long~text~on~the~top),(shorttext))")) %>%
ggplot(aes(hp, wt)) +
geom_line() +
facet_wrap(~cyl, labeller = label_parsed) +
theme(strip.text.x = element_text(hjust = 0))
答案 0 :(得分:0)