4.6 Rotate the Venndir

The Venndir figure can be rotated using degrees, on scale of 0 to 360, where 180 will rotate the figure exactly halfway. Currently the rotation must occur when calling venndir(), so that all polygons are rotated before the Venndir object is created.

The default 3-way Venn diagram has 60-degree symmetry, so rotations with multiples of 30 degrees tend to work best.

v1 <- venndir(make_venn_test(),
   main="rotated 0{.sup o}",
   rotate_degrees=0)
v2 <- venndir(make_venn_test(),
   main="rotated 60{.sup o}",
   rotate_degrees=60)
v3 <- venndir(make_venn_test(),
   proportional=TRUE,
   main="rotated 0{.sup o}",
   rotate_degrees=0)
v4 <- venndir(make_venn_test(),
   proportional=TRUE,
   main="rotated 90{.sup o}",
   rotate_degrees=90)
Several examples of rotated Venn and Euler diagrams.Several examples of rotated Venn and Euler diagrams.Several examples of rotated Venn and Euler diagrams.Several examples of rotated Venn and Euler diagrams.

Figure 4.8: Several examples of rotated Venn and Euler diagrams.

As indicated in the bottom-left panel (c), sometimes the legend overlaps the placement of a set label. See Nudge the Legend for alternatives.