using $\textit{w}$ in legend
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have an existing figure that I want to use this term $\textit{w} = 0$ in its legend. I'm setting the latex interpreter using set(findall(gcf,'defaulttextInterpreter','latex ')) but I keep getting this error Warning: Unable to interpret TeX string "$\textit{w}$ = 1,k=1" any help would be appreciated.
0 Kommentare
Akzeptierte Antwort
Matt J
am 16 Jan. 2018
Try setting the interpreter directly,
set( legend('$\textit{w}$ = 1,k=1') , 'Interpreter','latex');
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend 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!