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.


Updated Wed, 22 Jul 2020 16:07:52 +0000

View License

This function is a follow-up to the 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 (2023). 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!
Version Published Release Notes