如何使用图像作为 ggplot2 图的背景?
例如,代码:
mtcars %>% ggplot(aes(cyl)) + geom_bar() + theme(plot.background = element_rect(fill = "black"))
结果如下: 并且背景颜色为黑色。
如何选择图像作为背景,而不仅仅是选择其颜色?
background r image ggplot2
background ×1
ggplot2 ×1
image ×1
r ×1