Greek symbols (esp. µ) not italic
Show older comments
I want to use the greek "mu" to be displayed non-italic. Example: ylabel('c [\mu mol/l]')
Is there any easy solution to this problem?
Accepted Answer
More Answers (3)
Kenneth
on 9 Feb 2017
6 votes
Simply copy past the mu "µ" in your text like >> ylabel('c [µmol/l]') works perfectly fine in Matlab 2016a
1 Comment
Jiarui Kang
on 16 Sep 2022
works suprisingly well!
Sean de Wolski
on 30 Oct 2014
Use the 'tex' interpreter instead of the latex one:
>> xlabel(['c_{O2} [',char(181),'mol/l]'],'Interpreter','tex');
Star Strider
on 30 Oct 2014
0 votes
See if replacing ‘\mu’ with char(181) does what you want. (This applies to US-ASCII character maps. If you have a different one, you may have to search for it.)
2 Comments
lee
on 30 Oct 2014
Star Strider
on 30 Oct 2014
I haven’t used LaTeX in years, so I had to go searching. It seems that according to the latest documentation, in LaTeX, \mu also produces an italicised symbol.
My suggestion: Go with Tex and char(181).
Categories
Find more on Labels and 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!