How to I put a tilde/bar/hat on a word (2 characters) in my figure legend?
28 views (last 30 days)
Show older comments
Diana Sandru
on 30 Jul 2020
Edited: Walter Roberson
on 1 Aug 2020
Hi,
I've been trying to use the LaTex interpreter to put a tilde/bar/hat on some variables in my legend. However, the sign is way too small compared to my word (2 characters only). How can I make it bigger, to cover the entire variable?
The code is the one below:
h = legend('$\tilde{EP}_{2}$');
set(h,'interpreter','Latex','FontSize',14);
This is what I get:

Thanks!
0 Comments
Accepted Answer
More Answers (1)
See Also
Categories
Find more on Legend 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!