glyphplot
statistics: glyphplot (x)
statistics: glyphplot (x, name, value, …)
statistics: g = glyphplot (…)
Create a star (glyph) plot of the multivariate data in x.
glyphplot (x) draws each observation (row) of the
n-by-p matrix x as a star glyph, arranged on a grid. The
p spokes of each star radiate from its center at equally spaced angles,
with lengths proportional to the values of the p variables; the tips of
the spokes are joined to form the star perimeter.
The following name/value pairs are accepted:
"Glyph""star" (default) draws star glyphs. "face" (Chernoff faces)
is not currently supported."Standardize""column"
(default) scales each column to the range , "matrix"
scales the whole matrix to , "PCA" uses principal
component scores scaled to , and "off" uses the values as
given. A spoke of relative length 0 is still drawn at 10% of the maximum
radius so that it remains visible."Grid"[rows cols] specifying the layout of the glyphs.
The default is chosen automatically."Centers"n-by-2 matrix giving the center coordinates of the glyphs
explicitly, overriding "Grid"."Radius""ObsLabels" The optional output g is an n-by-3 matrix of handles whose
columns hold, respectively, the star perimeters, the star spokes, and the
text labels.
See also: andrewsplot, parallelcoords
Source Code: glyphplot
Star plot of the first few cars in the carsmall data set.
load carsmall; X = [Acceleration, Cylinders, Displacement, Horsepower, Weight]; glyphplot (X(1:9,:), "ObsLabels", cellstr (num2str ((1:9)')));