<< nan_parallelcoords Statistical Visualization nan_probplot >>

NaN Toolbox >> NaN Toolbox > Statistical Visualization > nan_plotmatrix

nan_plotmatrix

function nan_plotmatrix(x,y,param1,param2)

Calling Sequence

nan_plotmatrix(Y)
nan_plotmatrix(X,Y)
nan_plotmatrix(...,LineSpec)
nan_plotmatrix(AX,...)

Parameters

LineSpec:

line specification, '.' is the default (see help plot)

AX:

uses AX as the BigAx instead of gca()

Description

plotmatrix(X,Y) scatter plots the columns of X against the columns of Y. If X is P-by-M and Y is P-by-N, PLOTMATRIX will produce a N-by-M matrix of axes. plotmatrix(Y) is the same as plotmatrix(Y,Y) except that the diagonal will be replaced by hist(Y(:,i)).

Examples

x = rand(50,3,'normal'); y = x*[-1 2 1;2 0 1;1 -2 3;]';
nan_plotmatrix(y,'r*')

Authors


<< nan_parallelcoords Statistical Visualization nan_probplot >>