I have a series of images back-to-back and I would like them to be further separated when I knit a PDF file than whatever the default is.
For example, in the following document:
---
title: "Image Test"
output: pdf_document
---
```{r echo = FALSE, fig.height=3}
vec1 <- rnorm(100)
vec2 <- rnorm(100)
plot(vec1)
plot(vec2)
```
I would like to control the distance between the plots. The only thing I've found so far is to keep intermediate TeX and put in newlines manually.
您可以将两个图放在单独的块中,然后将LaTeX \\ newline放在两者之间
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.