作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想在调用 corrplot
旁边出现的比例尺中将 1 标签的大小更改为 -1 ,但不确定要传递什么参数来完成此操作。
一个示例调用看起来像
corrplot(data, method="pie", cex=2)
cex=2 (errors/warnings, no effect)
cex.xlab=2 (errors/warnings, no effect)
cex.legend=2 (errors/warnings, no effect)
cex.axis=2 (sets axis labels of main plot 2x size, no effect on legend text)
最佳答案
我认为您正在寻找 tl.cex:
df <- data.frame(x = rnorm(10), y = rnorm(10), z = rnorm(10))
library(corrplot)
z <- corrplot(cor(df), method = "pie", tl.cex=4)
corrplot()
中的许多选项用 tl* 设置,例如,tl.col 表示颜色等。
关于r - 如何在 R 中更改 corrplot 图例中标签的字体大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31544651/
我是一名优秀的程序员,十分优秀!