Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to input margin #247

Open
h20gg702 opened this issue Jul 13, 2023 · 0 comments
Open

How to input margin #247

h20gg702 opened this issue Jul 13, 2023 · 0 comments

Comments

@h20gg702
Copy link

I made upset plot and add a margin with par() , but par() did not work.
I used code like below.
Could you some give advices?

p_upset <- 
  upset(fromList(data),
        order.by = "freq",
        keep.order = TRUE,
        point.size = 5, line.size = 2,
        text.scale = c(2, 2, 2, 2, 2, 2), 
        sets.bar.color=c("#BF3131","#BF3131","#83AAF1","#83AAF1"),
        matrix.color = c(rep("orange",8),rep("black",16))
  )
par("mar" = c(2, 2, 2, 2),
    "oma" = c(2, 2,2, 2)) 
p_upset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant