How to create consistent mixed type labels?

My problem is that I want to use a math formula and text inside a label. xlabel('text / $A_{ii}$','interpreter','latex'); ylabel('yunit with text'); But this is very bad looking. Because the fonttype is not the same. However I dont want to use LaTeX fonts everyvhere, just for A_{ii}, because it is necessery. Is it possible to solve this problem?

1 commentaire

Jan
Jan le 14 Juil 2017
The solution to use the LaTeX fonts for all X and Y labels would be straight and smart. Why don't you want to do this?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Characters and Strings dans Centre d'aide et File Exchange

Question posée :

le 14 Juil 2017

Commenté :

Jan
le 14 Juil 2017

Community Treasure Hunt

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

Start Hunting!

Translated by