I'm trying to do a BarChart[] of some data and I'd like to add an additional XX axis below the chart with some additional information. This may also be done with an additional plot, as long as it does the job.
So my question is: how can I align the second plot to the XX axis, not to the plot itself?
In the example below I want from a to the end of gto include the labeling "first", from h to k to have "second", etc.
data = Transpose@{CharacterRange["a", "t"],
Table[RandomInteger[{1, 20}], {20}]};
padding = {{7, 7}, {10, 7}};
plot1 = BarChart[
data[[All, 2]],
ChartLabels -> data[[All, 1]]
];
plot2 = Plot["", {x, 1, 20}, Axes -> {True, False},
AxesOrigin -> {0, 0},
Ticks -> {{{0, ""}, {3.5, "first", {0, 0}}, {7, ""}, {8.5,
"second", {0, 0}}, {10, ""}, {13, "third", {0, 0}}, {16,
""}, {18, "fourth", {0, 0}}, {20, ""}}, None}
];
GraphicsColumn[{plot1, plot2}]
(*out:*)
I have found some other questions and answers regarding plot/graphic alignment, but none regarding the alignment to the axis itself. I'd appreciate all help!
Thanks





