taiyun / corrplot

A visual exploratory tool on correlation matrix
https://github.com/taiyun/corrplot
Other
318 stars 86 forks source link

Specifying Corrplot Scale Breaks #254

Closed Suraj-Bansal closed 2 years ago

Suraj-Bansal commented 2 years ago

Hi Taiyun,

Thanks for an amazing package — I use corrplot regularly! I cannot find the parameter to specify the scale breaks in my plot (in ggplot I usually use scale_fill_continuous). Here is my plot. I am looking to only show the breaks: 0, 0.01, 0.02, 0.03, 0.04, 0.05. If you could help me resolve this, I would greatly appreciate it!

image

taiyun commented 2 years ago

You can try like this:

corrplot(M,  col = COL1('Blues', 5))
taiyun commented 2 years ago

Or

corrplot(M,  cl.length = 5)