library(ggplot2)
p <- ggVennDiagram(x, label_alpha = 0, label = "count", edge_size = 0.1, edge_lty = "solid") # x为韦恩图的数据
p + scale_fill_distiller(palette = "PuOr", direction = -1) + scale_color_brewer(palette = "Set1") + labs(title = "Venn Diagram", subtitle = "`ggVennDiagram`", caption = Sys.Date())
scale_fill_distiller(palette = "Set1", direction = -1)
scale_fill_distiller(palette = "Set2", direction = -1)
scale_fill_distiller(palette = "Set3", direction = -1)
scale_fill_distiller(palette = "Purples", direction = -1)
开发工具:RStudio 2023.06.1 Build 524
微信Alt+A截屏工具