'How to change the legend position from a Venn Diagram using eulerr package?
I am using the eulerr package and I want to change the legend position of my plot. I have been able to change it to the right, left, up, down... But I cannot change it to the top right.
library(eulerr)
fit <- euler(c("A" = 10, "B" = 5, "A&B" = 3))
plot(fit, quantities = TRUE, legend = list(labels = c("foo", "bar"), side="right"))
plot(fit, quantities = TRUE, legend = list(labels = c("foo", "bar"), side="left"))
plot(fit, quantities = TRUE, legend = list(labels = c("foo", "bar"), side="down"))
plot(fit, quantities = TRUE, legend = list(labels = c("foo", "bar"), side="top"))
plot(fit, quantities = TRUE, legend = list(labels = c("foo", "bar"), side="topright")) #it doesn't work
Does anyone know how to change the legend position to the top right?
Thanks very much!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
