Shaded Correlation Table

A correlation table enhanced graphically with shading, with highlighting of upper or lower ranges.

You are now following this Submission

ShadedCorrelationTable produces a correlation table for a set of variables, enhanced graphically with shading according to correlation values.

Upper or lower ranges of correlation values may be highlighted through the interface controls. Two methods are provided to do this: a decay function that softens shading of values of less interest, or, shading according to a discrete threshold.

Pearson's linear correlation coefficient is used.

Usage:

ShadedCorrelationTable(x, xLabels);

Example:

load('demo data.mat');
ShadedCorrelationTable(data.x,data.labels);

Cite As

Jaspar Cahill (2026). Shaded Correlation Table (https://au.mathworks.com/matlabcentral/fileexchange/30151-shaded-correlation-table), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: usercolormap, rotateXLabels( ax, angle, varargin )

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Bug fixed.

1.0.0.0