Knitr: Turning the R chunk figure caption 90 degrees inline Latex -


here code demo cannot do. use r chunk make figure , use out.extra='angle=90' make figure post sideways on page. how caption go sideways too?

\documentclass{article} \usepackage{subcaption}  \begin{document}  <<test-plot,echo=false,fig.cap="i 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} 


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -