Violinplot-Matlab
Violinplot-Matlab copied to clipboard
Changing color scheme of the plots
I am using this code to graph paired data sets on the same figure and need to color the violins appropriately. I see that the algorithm currently rotates through seven different colors. How would I modify the code so that it would repeat the same color twice before moving on to the next one?
You can either set each violin's color manually, or modify Matlab's default colororder.