view m-toolbox/test/utils/test_boxplot.m @ 42:f90d4f666cc7
database-connection-manager
Cleanup
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 18:04:34 +0100 (2011-12-05)
parents
f0afece42f48
children
line source
+ − %
+ − % test case for utils.math.boxplot
+ − %
+ − % Luigi Ferraioli 13-02-2011
+ − %
+ − % $Id: test_boxplot.m,v 1.1 2011/02/13 21:32:35 luigi Exp $
+ − %
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ −
+ − %% test data
+ −
+ − aa = randn(10000,1) + 10;
+ − bb = randn(11000,1) + 9;
+ − cc = randn(9000,1) + 11;
+ −
+ − %% plot full data and box
+ − ops = struct('PlotData',true,...
+ − 'ConfLevel',0.95,...
+ − 'XTickLabel',{{'','one','','two','','three',''}});
+ − utils.math.boxplot(aa,bb,cc,ops)
+ −
+ − %% plot box and data out of confidence
+ − ops = struct('PlotData',false,...
+ − 'ConfLevel',0.95,...
+ − 'XTickLabel',{{'','one','','two','','three',''}});
+ − utils.math.boxplot(aa,bb,cc,ops)