I have two sets data as following:
data1 =
{11, 11, 24, 19, 16, 16, 15, 15, 15, 16, 15, 16, 16, 19, 23, 36,
12, 11, 10, 11, 11, 11, 11, 11, 11, 11, 11, 12, 11, 13, 13, 18};
data2 =
{15, 10, 13, 6, 4, 4, 3, 3, 3, 4, 3, 4, 4, 7, 11, 26, 4, 4, 7, 5,
6, 5, 6, 5, 6, 5, 6, 4, 5, 4, 3, 5};
I want to put them together, like in this example picture.
Compare two sets of data, (ignore Lables in this picture).
It seems that the Stacked
option doesn't work well.
Show[BarChart[data1, ChartStyle -> Directive[Red, Opacity[0.7]]], BarChart[data2, ChartStyle -> Directive[Blue, Opacity[0.7]]]]
? $\endgroup$ – rotom407 Jun 5 '17 at 6:20