how to dispoly in a text (on a graphic) underlined character with a subscript?
2 ビュー (過去 30 日間)
古いコメントを表示
I got the answer to underline a character in a text on a graphic : ('\underline{X}', 'Interpreter', 'latex') BUT
1) I cannot display Xbar (X with a dash on it)
2) It seems also impossible to add a subscript as the following command does not work: ('\underline{X}_{1}', 'Interpreter', 'latex')
Do you have solutions for these questions? Thanks
回答 (1 件)
Image Analyst
2013 年 12 月 24 日
'\underline{X_{1}}' doesn't work either. You'd think
title('\underline{X}_1', 'Interpreter', 'latex');
should work because it should underline the X and then the underline says the 1 after it should be a subscript, just like
title('X_1', 'Interpreter', 'latex'); % 1 is a subscript.
does. But it does not. I tried a few things and couldn't solve it either. MATLAB does admit they don't support the full latex instruction set.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Annotations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!