www.gusucode.com > stats 源码程序 matlab案例代码 > stats/StarAndFacePlotsExample.m

    %% Star and Face Plots of Multivariate Data
%%
% Load the sample data.

% Copyright 2015 The MathWorks, Inc.

load carsmall
X = [Acceleration Displacement Horsepower MPG Weight];
%%
% Create a star plot of the data in |X| . Standardize the data before
% plotting.
glyphplot(X,'standardize','column','obslabels',Model,'grid',[2 2],...
            'page','scroll');
%%
% Create a faceplot of the data in |X| .
glyphplot(X,'glyph','face','obslabels',Model,'grid',[2 3],'page',9);