Correlation circles

Display correlation matrix using colored circles
1,1K téléchargements
Mise à jour 26 fév. 2014

Afficher la licence

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

Citation pour cette source

David Legland (2026). Correlation circles (https://fr.mathworks.com/matlabcentral/fileexchange/45698-correlation-circles), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.0.0.0