MATLAB: How to write superscripts for x-axis in a boxplot

superscripts for x-axis

I have
h=boxplot(x, g, 'notch','off','label', {'89_{p}','10007_{p}','3067_{M}'});
how to write p as a superscripts for x-axis

Best Answer

set(gca,'TickLabelInterpreter','tex')
Related Question