Violinplot-Matlab icon indicating copy to clipboard operation
Violinplot-Matlab copied to clipboard

Change order of x-axis

Open jic198 opened this issue 6 years ago • 2 comments

Hi Bastian. Thanks for this awesome function.

I was wondering if there is a way to change the order of x-axis. For the example in your README.md. How can I change the order from "England France Germany" to "Germany France England"? It seems I could use VIOLINPLOT(DATAMATRIX, CATEGORYNAMES). But you have to make sure each column has the same number of rows for DATAMATRIX, which is not the case for this example.

Please advise

jic198 avatar Feb 04 '19 06:02 jic198

You can plot the individual Violins by themselves instead of going through voilinplot.

bastibe avatar Feb 05 '19 08:02 bastibe

See also my answer here https://github.com/bastibe/Violinplot-Matlab/issues/61

NicolasClairis avatar Mar 20 '24 12:03 NicolasClairis