eulerr
eulerr copied to clipboard
Set background colour
grid solution below:
library(grid)
# plot, assign to object
x <- plot(fit,
fills = c("blue", "white", "white"),
labels = list(col = "black", font = 4), bg = "blue")
# now use grid
grid.newpage()
# background is red
grid.draw(rectGrob(gp = gpar(fill = "red")))
# now add eulerr plot
grid.draw(x)
Is there a better way, maybe I am missing some argument?
Related SO post:
No, there probably isn't right now. This should be an easy fix though.