image thumbnail

Correlation Matrix Scatterplot 2-group

version 1.0.0 (3.29 KB) by John Chow
Produces a correlation matrix scatterplot of 2 sets of variables with least-squared fitted lines.

49 Downloads

Updated 22 Jul 2020

View License

This function is a follow-up to the Correlation Matrix Scatterplot
(www.mathworks.com/matlabcentral/fileexchange/53043-correlation-matrix-scatterplot). It creates multiple bivariate scatterplots of 2 sets of variables. A linear fitted line, the Pearson's correlation coefficient, associated p-value, and sample size are included in each plot. It is helpful when you want to explore the relationships between 2 sets of variables.

Cite As

John Chow (2022). Correlation Matrix Scatterplot 2-group (https://www.mathworks.com/matlabcentral/fileexchange/78513-correlation-matrix-scatterplot-2-group), MATLAB Central File Exchange. Retrieved .

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

Community Treasure Hunt

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

Start Hunting!