什么是在我的Venn图周围添加矩形或边框以代表通用集的最简单方法?
我正在使用ggplot2和ggvenndiagram软件包。我有两套“ A”和“ B”,它们在它们后面有白色空间。我想知道是否有一种简单的方法可以简单地在集合周围添加类似于 box()的矩形边框。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
以
ggvenndiagram
帮助页面为例,让我们绘制一个示例:要在此添加一个盒子,请注意,由于它实际上是一个ggplot,因此删除了面板边框,因此我们可以将其添加回
Taking an example from the
ggVennDiagram
help page, let's draw an example:To add a box around this, note that since it is actually a ggplot with the panel border removed, we can just add it back in