image thumbnail

Scatter Plot Matrix

version 1.0.1 (4.03 KB) by Ningshan Li
Scatter plot matrix with histogram in diagonal line, correlation coefficients in upper triangular, and scatter plots in the lower triangular

289 Downloads

Updated 13 Oct 2019

View License

An example of this function using 'carsmall' data as below:

load carsmall
scatterPlotMatrix([Acceleration,Cylinders,Displacement,Horsepower,Model_Year,Weight,MPG], {'Acceleration','Cylinders','Displacement','Horsepower','ModelYear','Weight','MPG'})

Cite As

Ningshan Li (2022). Scatter Plot Matrix (https://www.mathworks.com/matlabcentral/fileexchange/71833-scatter-plot-matrix), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
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!