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

    %% Create Andrews Plot to Visualize Grouped Data
% This example shows how to create an Andrews plot to visualize grouped
% sample data.

% Copyright 2015 The MathWorks, Inc.


%%
% Load the sample data.
load fisheriris

%%
% Create an Andrews plot, grouping the sample data by |species|.
andrewsplot(meas,'group',species)

%%
% Create a second, simplified Andrews plot that only displays the median
% and quartiles of each group.
andrewsplot(meas,'group',species,'quantile',.25)