%% Create Scatter Plot Matrix with Two Matrix Inputs
% Create X as a matrix of random data and Y as a matrix of integer values. Then, create a scatter plot matrix of the columns of X against the columns of Y.

X = randn(50,3);
Y = reshape(1:150,50,3);  
plotmatrix(X,Y)

% The subplot in the ith row, jth column of the figure is a scatter plot of the ith column of Y against the jth column of X.
% Copyright 2015 The MathWorks, Inc.