Correlation Matrix Scatterplot

Produces a correlation matrix scatterplot with least-squared fitted lines.

You are now following this Submission

This function creates multiple bivariate scatterplots similar to SPSS's Matrix Scatterplot but without duplicate relationships. A linear fitted line, the correlation coefficient and the associated p-value are included in each plot. It is helpful when you want to explore the relationships among several variables.

Cite As

John Chow (2026). Correlation Matrix Scatterplot (https://uk.mathworks.com/matlabcentral/fileexchange/53043-correlation-matrix-scatterplot), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: tight_subplot(Nh, Nw, gap, marg_h, marg_w)

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

(1) Ignore data pairs with NaNs, (2) Sample size added on plots, and (3) No statistics toolbox needed. (May 2020)

2.0.0.0

(1) Ignore data pairs with NaNs, (2) Sample size added on plots, and (3) No statistics toolbox needed. (May 2020)

1.0.0.0