> Can't anyone help on this? Maybe Mathworks employees?
Mark, in general I don't know of a way to have multi-line axis tick labels.
The boxplot function goes to great lengths to draw text under the axis
locations in order to deal with this. While this might be too much of a hack
for your taste, here's a way to tap into that boxplot behavior:
Dist1 = rand(10, 1);
Dist2 = rand(10, 1);
group1 = [repmat(cellstr('First Line G1'), length(Dist1), 1); ...
repmat(cellstr('First Line G2'), length(Dist2), 1)];
group2 = [repmat(cellstr('Second Line G1'), length(Dist1), 1); ...
repmat(cellstr('Second Line G2'), length(Dist2), 1)];
figurePlot = figure('visible', 'on');
boxplot([Dist1;Dist2], {group1 group2})
ylabel('Y Label');
-- Tom