Correlation Matrix Scatterplot 2-group

Produces a correlation matrix scatterplot of 2 sets of variables with least-squared fitted lines.

You are now following this Submission

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 (2026). Correlation Matrix Scatterplot 2-group (https://se.mathworks.com/matlabcentral/fileexchange/78513-correlation-matrix-scatterplot-2-group), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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