How to create consistent mixed type labels?

2 views (last 30 days)
Mr M.
Mr M. on 14 Jul 2017
Commented: Jan on 14 Jul 2017
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 Comment
Jan
Jan on 14 Jul 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?

Sign in to comment.

Answers (0)

Categories

Find more on Characters and Strings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!