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

Jan
Jan 2017년 7월 14일
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