comparison m-toolbox/test/utils/test_boxplot.m @ 0:f0afece42f48

Import.
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Wed, 23 Nov 2011 19:22:13 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f0afece42f48
1 %
2 % test case for utils.math.boxplot
3 %
4 % Luigi Ferraioli 13-02-2011
5 %
6 % $Id: test_boxplot.m,v 1.1 2011/02/13 21:32:35 luigi Exp $
7 %
8 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
9
10 %% test data
11
12 aa = randn(10000,1) + 10;
13 bb = randn(11000,1) + 9;
14 cc = randn(9000,1) + 11;
15
16 %% plot full data and box
17 ops = struct('PlotData',true,...
18 'ConfLevel',0.95,...
19 'XTickLabel',{{'','one','','two','','three',''}});
20 utils.math.boxplot(aa,bb,cc,ops)
21
22 %% plot box and data out of confidence
23 ops = struct('PlotData',false,...
24 'ConfLevel',0.95,...
25 'XTickLabel',{{'','one','','two','','three',''}});
26 utils.math.boxplot(aa,bb,cc,ops)