[R] Changing Color of Selected Column Names in Corrplot

Lorenzo Isella lorenzo.isella at gmail.com
Fri Jun 16 15:54:56 CEST 2017


Dear All,
Please consider the following example


library(corrplot)
M <- cor(mtcars)
corrplot(M, method="circle", type="lower", diag=F)


Suppose that I want to have the label "mpg" at the top in black
and leave everything else in red.
How can I achieve that?
Cheers

Lorenzo



More information about the R-help mailing list