gaospecial / ggVennDiagram

A 'ggplot2' implement of Venn Diagram.
https://gaospecial.github.io/ggVennDiagram/
GNU General Public License v3.0
282 stars 38 forks source link

rotate of venn / special shapes not working #44

Closed deprekate closed 1 year ago

deprekate commented 2 years ago

I am trying to get the special shape 201f to work, which is a 90 degree rotated 2 circle plot, but it seems to not work (I think it is doing a 180 in stead of a 90). The other special shapes (like 401f) worked fine for me

x <- list(A = 1:5, B = 2:7)
data = process_data(Venn(x), shape_id == "201f")
ggplot() +
  geom_sf(aes(fill = count), data = venn_region(data)) +
  geom_sf(aes(color = id), data = venn_setedge(data), show.legend = FALSE) +
  geom_sf_text(aes(label = name), data = venn_setlabel(data)) +
  geom_sf_label(aes(label = count), data = venn_region(data)) +
  theme_void()

aww

gaospecial commented 2 years ago

I get a rotated figure with Ubuntu system.

image