Are some Greek characters not supported?
11 次查看(过去 30 天)
显示 更早的评论
In R2017b, I tried to use \varphi in a legend and got the error message:
*Warning: Error updating Legend.
Character vector must have valid interpreter syntax:
\varphi*
If I shorten it to \phi , it displays as expected. What's going on?
0 个评论
回答(1 个)
Walter Roberson
2018-3-19
\varphi requires interpreter latex, and requires math mode (that is, enclosed in $)
text(1,1,'$\phi \varphi$', 'interpreter', 'latex')
8 个评论
Walter Roberson
2018-3-19
If you look at the comprehensive list of LaTeX symbols http://tug.ctan.org/info/symbols/comprehensive/symbols-a4.pdf, you will find that \alpha and so on are table 184, well inside Section 3 describing Mathematics Mode
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!