To center two plots you can add fig.align='center'
to your chunk options. If it produces one plot above the other add also fig.show='hold'
. The result should be two centered graphs.
So your final chunk option should look something like:
{r,echo=FALSE, out.width='.49\linewidth', fig.width=3, fig.height=3,fig.show='hold',fig.align='center'}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…