axis label subscript in latex environment

45 views (last 30 days)
Chirag
Chirag on 19 Dec 2025 at 12:32
Commented: Matt J ongeveer 9 uur ago
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');
  5 Comments
Dyuman Joshi
Dyuman Joshi ongeveer 16 uur ago
@Chirag, The image you have attached doesn't look like a MATLAB figure.
Maybe it is being exported from MATLAB using some function/functionality?
Matt J
Matt J ongeveer een uur ago
Here is how ChatGPT renders it (in another words, a completey non-Matlab environment),
To me, it looks the same.

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!