
axis label subscript in latex environment
11 次查看(过去 30 天)
显示 更早的评论
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 个评论
Matt J
2025-12-21
Here is how ChatGPT renders it (in another words, a completey non-Matlab environment),
To me, it looks the same.
回答(1 个)
Ritam
2025-12-22
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


