
axis label subscript in latex environment
58 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
about 1 hour ago
Here is how ChatGPT renders it (in another words, a completey non-Matlab environment),
To me, it looks the same.
Answers (1)
Ritam
about 7 hours ago
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!

