varphi Matlab / Latex character
121 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bogdan Dzonlaga
am 24 Sep. 2018
Kommentiert: Muhammad
am 15 Jul. 2022
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 !
Akzeptierte Antwort
Bish Erbas
am 24 Sep. 2018
Try
legend({'$\varphi$'},'Interpreter','latex');
2 Kommentare
Chen
am 12 Apr. 2021
I meet the same problem.And the code '$\varphi$' or '\varphi' can't be explained by matlab.
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Sequence and Numeric Feature Data Workflows finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!