简体   繁体   中英

Plot not filling the slide in R presentation

If I make a default R presentation in Rstudio, everything looks okay, but the plot doesn't fill the whole slide.

在此输入图像描述

This is the same whether in full screen or in the browser.

The documentation says "When the only content on a slide is an image, then the image will fill all available space on the slide". And it mentions that same goes for plots.

What am I missing here? What do I need to do to have the plot fill the whole slide?

I updated my RStudio to Version 0.99.903

在块选项中使用out.width="100%"

{r, echo=FALSE, out.width="100%"}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM