IoSR-Surrey / MatlabToolbox

General purpose Matlab toolbox
MIT License
126 stars 43 forks source link

Error using boxplot #6

Closed dumbly closed 7 years ago

dumbly commented 7 years ago

Using the example for boxPlot:

y = randn(50,3,3);
x = [1 2 3.5];
y(1:25) = NaN;

figure;
h = iosr.statistics.boxPlot(x,y);
box on

Gives the following error:

Error using iosr.statistics.statsPlot/parseAxesHandle
Too many output arguments.
Error in iosr.statistics.boxPlot (line 602)
            [ax, axValid, axSet] = obj.parseAxesHandle(varargin{:});
Error in boxplot_iosr (line 22)
h = iosr.statistics.boxPlot(x,y); 

I'm using MATLAB R2016b. I also added the path to the matlab folders.

Thanks for the support