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

apache - setting document root in antoher partition on ubuntu -

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

Process 'command 'F:\android-sdk\build-tools\21.1.2\aapt.exe'' finished with non-zero exit value 1 -