plotmatrix
Scatterplot matrix.
Syntax
Section titled “Syntax”[S, AX, BigAx, H, HAx] = plotmatrix(X)[S, AX, BigAx, H, HAx] = plotmatrix(X, Y)Description
Section titled “Description”Draws an n × n matrix of scatterplots — pairwise scatters between every column of X. With two arguments, plots each column of X against each column of Y. Diagonal cells show histograms. Useful for exploratory data analysis.
Example
Section titled “Example”plotmatrix(rand(50, 4))