display ‰ symbol in xlabel with latex interpreter
13 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi,
I need to display a permil (\textperthousand) in my xlabel but I cannot get it to work.
I'm using the following
ylabel('$\mathrm{^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (\textperthousand)}$','FontSize',16,'Interpreter','latex')
0 Kommentare
Antworten (1)
Star Strider
am 27 Jan. 2025
I think it’s hanging up on the ‘\textperthousand’ call. When I searched online, that and ‘permille’ are not generally supported (and I can’t find it in my LaTeX reference).
You have to use a work-around —
% ylabel('$\mathrm{^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (\textperthousand)}$','FontSize',16,'Interpreter','latex')
ylabel('${^{34/32}\varepsilon^{mic}_{sulfate-pyrite} \ \ (^{0}/_{00})}$','FontSize',16,'Interpreter','latex')
.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
