这是我演示我不能做的代码。我使用R块来制作一个数字并使用out.extra =' angle = 90'使图形在页面上横向移动。现在我如何让我的标题侧身呢?
\documentclass{article}
\usepackage{subcaption}
\begin{document}
<<test-plot,echo=FALSE,fig.cap="I would like to be posted sideways under figure, NOT HERE",out.extra='angle=90'>>=
plot(1)
abline(0, 1)
plot(rnorm(10))
for(i in 1:10) {
abline(v = i, lty = 2)
}
@
\end{document}