>> I am trying to plot using greek letters in the title or axes as in latex:
>>
>> plot(stuff)
>> ylabel('\sigma [\mu m]')
...
>> but it doesn't plot any greek letter but just
>> s [m m]
...
> Matlab does not recognise the \ in the string.
> The solution is quite simple use \\
Doubling up backslash will will simply pass the \ character; _not_ what
wanted at all.
ylabel('\sigma [\mu m]')
works fine here w/ R2012b/Windows. Don't know about Fedora but first OP
should check the 'interpreter' property default. The above is valid for
'TeX' but _not_ 'LaTex'
OP, try
hL=ylabel('\sigma [\mu m]','interpreter','tek');
and see if joy ensues. See what
get(hL,'interpreter')
returns...
--
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus