[英]Adjust plot scale in R markdown
如何在 R markdown 中更改 plot 的比例? 换句话说,当我编织 HTML 文档时,如何使 output 看起来更像底部的 plot?
--- title: "Test" output: html_document --- ```{r} data <- data.frame(x = 1:10, y = rnorm(10)) ggplot(data, aes(x, y)) + geom_point(size = 4)
对于顶部花括号中的每个代码块,您可以设置fig.height和fig.width ,它们在编织时设置 output 尺寸。
fig.height
fig.width
[英]Adjust color scale of image plot in R
[英]How can you manually adjust gradient scale for tile plot in R?
[英]ggplot dot plot adjust scale
[英]Markdown in R plot NOT behaving
[英]Adjust grid in R plot
[英]Scale entire R plot
[英]Logarithmic scale plot in R
[英]Plot on reciprocity scale in R
[英]Plot a hierarchy tabs in R Markdown
[英]sankey plot R not displaying markdown
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.