Violinplot-Matlab
Violinplot-Matlab copied to clipboard
Undefined colororder error
Every time I try to run violinplot function on my own or the sample data I get the following error:
Undefined function or variable 'colororder'.
Error in Violin (line 168) C = colororder;
Error in violinplot (line 161) violins(n) = Violin({thisData}, n, varargin{:});
Does anyone know why this is happening?
Are you, by any chance, running a very old version of Matlab? colororder was introduced in 2019b.
Yes I am running 2019a Thank you for pointing this out!