绘图R:在子图()函数中排列奇数图
我试图将3个图
安排到子图
函数中,但它总是将面板分为相等的部分。我想拥有这样的东西:
但是,相反,我得到了这样的东西:
library(plotly)
subplot(plot_ly(), plot_ly(), plot_ly(), nrows = 2)
是否有任何方法可以使第3个图填充整个第二行?
I'm trying to arrange 3 plots
into subplot
function, but it always divides the panel in equal parts. I would like to have something like this:
But, instead, I'm getting something like this:
library(plotly)
subplot(plot_ly(), plot_ly(), plot_ly(), nrows = 2)
Is there any way to make the 3rd plot fill the whole 2nd line?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您需要将顶行划分,然后将其与底部行相结合。
Yes, you need to subplot the top row and then combine that with the bottom row.