how to write superscripts for x-axis in a boxplot

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

 채택된 답변

추가 답변 (1개)

Max Murphy
Max Murphy 2020년 1월 6일
% h=boxplot(x, g, 'notch','off','label', {'89_{p}','10007_{p}','3067_{M}'});
% You were using subscript operator (_)
h=boxplot(x, g, 'notch','off','label', {'89^{p}','10007^{p}','3067^{M}'});

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

NA
2020년 1월 6일

답변:

2020년 1월 6일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by