nan_normplot Statistical Visualization nan_plotmatrix

NaN Toolbox >> NaN Toolbox > Statistical Visualization > nan_parallelcoords

nan_parallelcoords

Parallel coordinates plot for multivariate data.

Calling Sequence

nan_parallelcoords(AX,...) plots into the axes with handle AX.
nan_parallelcoords(X)
nan_parallelcoords(X,group)
nan_parallelcoords(X,group,alpha)
nan_parallelcoords(X,group,alpha,labels)
nan_parallelcoords(X,group,alpha,labels,stdize)
H = nan_parallelcoords(X, ...)

Parameters

AX:

handle

group:

plots the data in different groups with different colors. group is a string matrix.

alpha:

if not empty the the median and the ALPHA and (1-ALPHA) quantiles of f(t) at each value of t is plotted

labels:

labels the coordinate tick marks

stdize = 'off' :

do nothing

stdize ='on' :

scales each column of X to have zero mean and unit standard deviation before making the plot.

stdize = 'pca' :

creates an Andrews plot from the principal component scores of X, in order of decreasing eigenvalue.

stdize = 'pcastd' :

uses the standardized principal component scores.

// h:

handles to the line objects

Description

parallelcoords(X) creates a parallel coordinates plot of the multivariate data in the N-by-P matrix X. Rows of X correspond to observations, columns to variables. A parallel coordinates plot is a tool for visualizing high dimensional data, where each observation is represented by the sequence of its coordinate values plotted against their coordinate indices.

parallelcoords treats NaNs in X as missing values, and those coordinate values are not plotted.

Examples

// make a grouped plot of the raw data
loadmatfile("demos/data/iris.mat");
labs = {'Sepal Length','Sepal Width','Petal Length','Petal Width'};
nan_parallelcoords(meas, species, [],labs);

// plot only the median and quartiles of each group
nan_parallelcoords(meas, species, 0.25,labs);

See also

Bibliography

[1] Gnanadesikan, R. (1977) Methods for Statistical Dara Analysis of Multivariate Observations, Wiley.

nan_normplot Statistical Visualization nan_plotmatrix