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 Center および File ExchangeAxis Labels についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by