How can I put the epsilon letter (like the symbol "3" but in the other direction) in xlabel of plot of MatLab R2014b? I try to put '\epsilon' and 'varepsilon' but it doesn't work. Thanks in advance!
Show older comments
I want to make a plot force vs strain but in the title of the xlabel "strain" I need to put the Greek symbol '\epsilon'.
xlabel('Deformación \epsilon [\mum/m]'); Does not work.--> It appears a letter like "e" I need like 3 but turned.
xlabel('Deformación \varepsilon [\mum/m]'); Does not work.
xlabel('Deformación \epsiv [\mum/m]'); Does not work too.
Others greeks letters works correctly.
I think that matlab R2014 doesn't have it.=(
Accepted Answer
More Answers (1)
Mike Garrity
on 25 Feb 2015
Edited: Mike Garrity
on 25 Feb 2015
Starting in R2014b, you can also use all of the Unicode characters . For example, since small epsilon is 949 in Unicode , I could do this:
xlabel(['Is ', char(949), ' what you want?'])
The one caveat with that is that the font you're using has to include glyphs any of the Unicode characters you want to use. That's usually not an issue for something common like epsilon, but it can be an issue for some of the more obscure characters.
Categories
Find more on Graphics Object Properties in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!