Correlation circles
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
Citar como
David Legland (2025). Correlation circles (https://www.mathworks.com/matlabcentral/fileexchange/45698-correlation-circles), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Mapping Toolbox > Map Display >
- Radar > Mapping Toolbox > Map Display >
Etiquetas
Agradecimientos
Inspiración para: Visualization of correlation matrix: mycorrplot_1, mycorrplot_2
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |