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 个评论

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?

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Characters and Strings 的更多信息

提问:

2017-7-14

评论:

Jan
2017-7-14

Community Treasure Hunt

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

Start Hunting!

Translated by