尽管我在R中使用oma参数,但每个子图的标题都被截断,是否有其他参数可以用来正确显示?
op <- par(mfrow = c(3,3),
oma = c(0,0,2,0) + 0.1,
mar = c(0,0,1,1) + 0.1)
最佳答案
尝试 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/