简体   繁体   English

如何更改 corrplot 的颜色、字体类型和大小?

[英]How do I change the color, font type and size of a corrplot?

I find the red font quite abrasive and the size is always too large.我发现红色字体很粗糙,而且尺寸总是太大。 What are the parameters to change the font of the variables?改变变量字体的参数是什么?

丑陋的可变标签

You can use tl.col to change the color, tl.cex to change the size and tl.srt to change the rotation degree.您可以使用tl.col更改颜色, tl.cex更改大小, tl.srt更改旋转度。 Here is an example:下面是一个例子:

corrplot(cor(iris[,-5]), tl.col="black", tl.cex=0.8, tl.srt=70)

关联图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM