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

5 visualizaciones (últimos 30 días)
Matlaber
Matlaber el 30 de Abr. de 2020
Editada: Sindar el 30 de Abr. de 2020
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'})

Respuestas (1)

Sindar
Sindar el 30 de Abr. de 2020
Editada: Sindar el 30 de Abr. de 2020
Set the tick label interpreter to tex:
ax=gca;
ax.TickLabelInterpreter = 'tex';
or
set(gca,'TickLabelInterpreter','tex')

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by