Correlation circles

版本 1.0.0.0 (4.5 KB) 作者: David Legland
Display correlation matrix using colored circles
1.1K 次下载
更新时间 2014/2/26

查看许可证

The goal of this function is to nicely visualize correlations within a data table.
The function computes the correlation matrix of the data, and represents each correlation coefficient with a colored disc: the radius is proportional to the absolute value of correlation, and the color represents the sign of the correlation (red=positive, blue=negative). Variables with low correlation are represented by a small green or yellow disc.

Example of use:
load cities
correlationCircles(ratings, 'varNames', categories)

It is inspired by the contribution of Taiyun Wei for R: http://weitaiyun.blogspot.fr/2009/04/visulization-of-correlation-matrix2.html

引用格式

David Legland (2024). Correlation circles (https://www.mathworks.com/matlabcentral/fileexchange/45698-correlation-circles), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Map Display 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0