【问题标题】:How can I change the font size of the labels in corrplot's lengend, in R?如何在 R 中更改 corrplot 图例中标签的字体大小?
【发布时间】:2015-10-11 05:42:08
【问题描述】:

我想将出现在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)

【问题讨论】:

    标签: r r-corrplot


    【解决方案1】:

    根据@ulfelder 的回答,控制比例的参数由 cl.x 给出,而不是 tl.x。

    cl.cex = 2 完全符合需要。

    【讨论】:

      猜你喜欢
      • 2011-07-18
      • 1970-01-01
      • 2021-07-19
      • 2014-12-21
      • 1970-01-01
      • 2012-10-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多