
axis label subscript in latex environment
69 views (last 30 days)
Show older comments
Hi,
I have following code for the ylabel. However, it does not show a proper subscript 'E'. I use MATLAB 2025a. Any help will be highly appreciated.
ylabel('$\tilde{p}_E \ (-)$','FontSize',14','FontName','TimesNewRoman','Interpreter','latex');
6 Comments
Matt J
on 21 Dec 2025 at 22:26
Here is how ChatGPT renders it (in another words, a completey non-Matlab environment),
To me, it looks the same.
Answers (1)
Ritam
on 22 Dec 2025 at 11:13
Upon reviewing the figure, the character E is indeed rendered as a subscript; however, because it is uppercase, it occupies more vertical space and visually appears closer to the baseline, giving the impression that it is not properly subscripted.
0 Comments
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

