如何在cor图的红色圆圈内增加文本的大小? [英] How to increase the size of the text inside the red circle of the cor plot?
本文介绍了如何在cor图的红色圆圈内增加文本的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在cor图的红色圆圈内增加文本的大小?
How to increase the size of the text inside the red circle of the cor plot?
使用的代码:
par(mar=c(1,1,1,1))
pairs.panels(data,
method = "pearson",
hist.col = "#00AFBB",
density = TRUE,
ellipses = TRUE,
pch = 21,
cex = 1.5,
cex.axis = 1.8,
lwd = 2,
rug = TRUE,
stars = TRUE
)
推荐答案
最后,我得到了答案,即添加了参数 cex.labels = 2.5,
Finally, I got the answer and i.e. to add the argument cex.labels = 2.5,
最终代码是
library(psych)
par(mar=c(1,1,1,1))
pairs.panels(data,
method = "pearson",
hist.col = "#00AFBB",
density = TRUE,
ellipses = TRUE,
pch = 21,
cex = 1.5,
cex.axis = 1.8,
cex.labels = 2.5,
lwd = 2,
rug = TRUE,
stars = TRUE
)
这篇关于如何在cor图的红色圆圈内增加文本的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文