UpSetR icon indicating copy to clipboard operation
UpSetR copied to clipboard

Margin Specification Between Barchart and Set Intersection Panel

Open DarioS opened this issue 4 years ago • 1 comments

When the vertical size of the plotting area is reduced, the elements of the plot can overlap and mask one another. Notice in the example below how the bottom of the bar chart is missing, hidden by the set intersection indicators. The height I set is 4 inches.

image

DarioS avatar Jan 14 '21 11:01 DarioS

I'm having the same problem, but I'm looking at the source code of UpSetR::upset, and I'm looking at the source code of UpSetR::upset, and I'm seeing that Main_bar &Matrix two elements are both gtable objects;So I tried to use the gtable package to increase the spacing, and it worked。

Here's example code:

up_plt=UpSetR::upset(...)
up_plt[["Main_bar"]]= gtable::gtable_add_row_space(as_grob(up_plt[["Main_bar"]]), unit(0.03, "cm"))

BioLaoXu avatar Mar 19 '25 04:03 BioLaoXu