Scatter Plot Matrix

Scatter plot matrix with histogram in diagonal line, correlation coefficients in upper triangular, and scatter plots in the lower triangular

You are now following this Submission

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 (2026). Scatter Plot Matrix (https://www.mathworks.com/matlabcentral/fileexchange/71833-scatter-plot-matrix), 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.1

All notes in the m file are translated into English, as the Chinese characters can not be shown normally in Matlab.

1.0.0