Parallel coordinates plot for multivariate data.
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, ...)
handle
plots the data in different groups with different colors. group is a string matrix.
if not empty the the median and the ALPHA and (1-ALPHA) quantiles of f(t) at each value of t is plotted
labels the coordinate tick marks
do nothing
scales each column of X to have zero mean and unit standard deviation before making the plot.
creates an Andrews plot from the principal component scores of X, in order of decreasing eigenvalue.
uses the standardized principal component scores.
handles to the line objects
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.
// 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);
[1] Gnanadesikan, R. (1977) Methods for Statistical Dara Analysis of Multivariate Observations, Wiley.