Cannot display Greek letters and correct font size in figure window
9 views (last 30 days)
Show older comments
Hi, I am having a problem with figures. I used to use commands like the following to have Greek letters in my plots without any problem:
xlabel('\epsilon')
However, after I upgraded to 2013 version the above command gives just 'e' for the axis label. When I use latex interpreter as,
xlabel('\epsilon','Interpreter','LaTex')
it seem to be working but the font becomes italic which I do not want. In addition, the axis label does not seem to change size. These issues happen in the figure window. However, when I save the plot to an eps file, both the Greek fonts and the font size appear to be correct! Does anyone know where the issue can be? I am using Linux (Ubuntu) which I recently upgrade too, if that is relevant.
Thanks
0 Comments
Accepted Answer
Walter Roberson
on 7 Dec 2013
Possibly this will help: http://www.mathworks.co.uk/matlabcentral/answers/1238-font-size-changes-in-figures#answer_39697 -- that is, perhaps the fonts got dropped with your Linux upgrade.
More Answers (0)
See Also
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!