Correlation circles

Display correlation matrix using colored circles
1,1K download
Aggiornato 26 feb 2014

Visualizza la licenza

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

Cita come

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

Compatibilità della release di MATLAB
Creato con R2009b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0