Clear Filters
Clear Filters

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

17 views (last 30 days)
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'})

Answers (1)

Sindar on 30 Apr 2020
Edited: Sindar on 30 Apr 2020
Set the tick label interpreter to tex:
ax.TickLabelInterpreter = 'tex';

Community Treasure Hunt

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

Start Hunting!