MATLAB: Move axis labels to bottom but keep axis at origin

axisbarlabelsMATLABplot

I am currently trying to recreate a bar graph similar to this one:
My graph already looks very similar but I cannot figure out how to move the x-tick labels to the bottom of the figure.
How can I move them to the bottom?

Best Answer

In the figure you have provided, the modified baseline is 1
You can modify the base kine of the bar see the example
Y=[5,4,1,5];
b=bar(Y);
b(1).BaseValue=2;
More detail number of levels and differnt colors- check here