Dear all,
Here are my boxplots that generated from the below script:
figure();ax = axes();hold(ax);for i=1:numel(data) boxchart(x(i)*ones(size(data{i})), data{i},'MarkerStyle','none', ... 'BoxFaceColor', colors(i,:), ... 'LineWidth', 1, ... 'WhiskerLineStyle', '-','BoxWidth',0.5)endset(gca,'xtick',[1.5 3.5 5.5 7.5 9.5 11.5 13.5 15.5 17.5])
I want to reduce the distance between first and second boxes; as well as third and forth; … and 15th and 16th.
In order to have 8 couple boxe beside each other. (each couple have distance with next couple)
please let me know how I can do that. Thanks
Best Answer