r - 每个子图的标题在 R 中被截断

标签 r plot oma

尽管我在R中使用oma参数,但每个子图的标题都被截断,是否有其他参数可以用来正确显示?

op <- par(mfrow = c(3,3),
          oma = c(0,0,2,0) + 0.1,
          mar = c(0,0,1,1) + 0.1)

enter image description here

最佳答案

尝试 par(xpd=NA):来自 ?par

‘xpd’ A logical value or ‘NA’. If ‘FALSE’, all plotting is clipped to the plot region, if ‘TRUE’, all plotting is clipped to the figure region, and if ‘NA’, all plotting is clipped to the device region. See also ‘clip’.

关于r - 每个子图的标题在 R 中被截断,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26726519/

相关文章:

r - 如何在ggplot2 geom_boxplot中使用实心方 block 作为图例键

r - Shiny 的仪表板不能很好地扩展

python - 绘制一个圆-matplotlib

plot - 使用 Racket 绘制点

r - 为 R 中的朴素贝叶斯分类选择特征

r - 走层次树

r - R-自定义直方图中的X轴值

ssl - 自 SSL - 证书无效

qt - 诺基亚S60 oma dm/客户端设置