【发布时间】:2012-12-21 20:08:39
【问题描述】:
我想生成两个不同大小的图像,但并排显示它们。这可能吗?
这可行,但它们的大小必须相同:
```{r two_plots_same_size_side_by_side, fig.width=5, fig.height=5}
plot(...)
plot(...)
```
这不起作用,但它可以因为在 Markdown 中,由单个换行符分隔的行出现在同一行。
```{r normal_plot, fig.width=5, fig.height=5}
plot(...)
```
```{r tall_plot, fig.width=5, fig.height=9}
plot(...)
```
【问题讨论】: