MATLAB: Two Bar Plots on one graph, with the bars next to each other, with horizontal axis showing text

bar plotgui

I would like to display bar chart, with bars next to each other … and I want to display units for x-axis as subjects instead of numbers …

Best Answer

Maybe:
ax = axes;
y = [75 91 105];
bar(y, 1)
ax.XTick = 1:3;
ax.XTickLabels = {'1st', '2nd', '3rd'};
Related Question