How can I get an upright mu in math with latex interpreter?
22 views (last 30 days)
Robert U on 11 Sep 2020
Edited: Robert U on 11 Sep 2020
Hi Philipp Rehlaender,
It seems, there is no straight-forward way to do that in matlab figures. Nonetheless, there are work-arounds that help to create a look-like:
Despite that you can create your text freely using unicode. Helpful is the wikipedia list of Unicode blocks. Signs above characters are known as Combining Diacritical Marks.
Writing your requested line in standard text font as axes label:
textbar = sprintf('\x0304'); % is not the bar but looks better, for correct "bar" use \x0305
textmu = sprintf('\x03BC');
fh = figure;
ah = axes(fh);
ah.XLabel.String = sprintf('%s/%s%s',append('i',textbar),textmu,'A');
Edit: That is, what Walter suggested in short.