Closed OmarKhater-sws closed 2 years ago
It will be fixed in the next commit, the error was on the violinplot.m
function.
Line 135
should be violins(n) = Violin({thisData}, n, varargin{:});
instead it was violins(n) = Violin(thisData, n, varargin{:});
.
Thanks for pointing this out.
I have data of the form:
data = struct('Group1', rand(10,1), 'Group2', rand(20,1));
I see it should plot them field by field. However, it seems like there is something wrong with the input validation (function results = checkInputs(~, data, pos, varargin)). More specifically, parsing this line raises an errorIt is not clear for me why you do cell indexing while you accept the input in matrix format.