image thumbnail

Correlation Matrix Scatterplot

version 2.0.0.01 (3.36 KB) by John Chow
Produces a correlation matrix scatterplot with least-squared fitted lines.

1.4K Downloads

Updated 05 May 2020

View License

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 (2021). Correlation Matrix Scatterplot (https://www.mathworks.com/matlabcentral/fileexchange/53043-correlation-matrix-scatterplot), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

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

Community Treasure Hunt

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

Start Hunting!