varphi Matlab / Latex character
146 ビュー (過去 30 日間)
古いコメントを表示
Hi,
Does anyone know if it is possible to use the \varphi character in a legend of a graph ? I have set my default interpreter as "tex" but still the \varphi is not printed properly.
set(groot, 'defaultAxesTickLabelInterpreter','tex'); set(groot, 'defaultLegendInterpreter','tex'); set(0, 'defaultTextInterpreter', 'tex');
legend('\varphi', 'k');
I have tried using $\varphi$, and changing the interpreter to 'latex' but without success.
Thanks in advance !
採用された回答
Bish Erbas
2018 年 9 月 24 日
Try
legend({'$\varphi$'},'Interpreter','latex');
2 件のコメント
Chen
2021 年 4 月 12 日
I meet the same problem.And the code '$\varphi$' or '\varphi' can't be explained by matlab.
その他の回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Sequence and Numeric Feature Data Workflows についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!