Align plot to the middle (latex .rmd)

Hi,
My issue is that I wanted to turn away my plot and I used the following specification in the chunk header:

```{r fig.cap="A szentiment alakulása országonként", fig.height=10, fig.width=15, out.extra='angle=90'}

However, the plot is not aligned to the middle. Do you know any solution to that?
Thanks in advance,
M

Hi @Marcell,
We can't see that image.
Try using an Rmarkdown chunk option to specify that plots should be centered on the page.
See https://yihui.org/knitr/options/#plots

```{r, fig.align ='center'}
 plot(.....)

HTH

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.