How to make only some part of a y axis label italic? (in boxplot?)

조회 수: 20 (최근 30일)
Matlaber
Matlaber 2020년 4월 30일
편집: Sindar 2020년 4월 30일
How to make italic in a boxplot lable?
Is working
ylabel('{\it text123} texting (%)')
But this not working:
boxplot(y,'Labels',{'{\it text} text','FC','SD Criterion'})

답변 (1개)

Sindar
Sindar 2020년 4월 30일
편집: Sindar 2020년 4월 30일
Set the tick label interpreter to tex:
ax=gca;
ax.TickLabelInterpreter = 'tex';
or
set(gca,'TickLabelInterpreter','tex')

카테고리

Help CenterFile Exchange에서 Axis Labels에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by