简体   繁体   中英

how to change the width of the gaps between the panels in facet in ggplot2?

as title, I have having quite a lot of panels when generating a chart by ggplot, and I think the gap is a bit too wide, can I adjust it?

Thanks!

我相信这就是您想要的。

+ opts(panel.margin = unit(0, "inches"))

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM