Ubuntu - german umlaute in plots

36 次查看(过去 30 天)
Hi,
i m currently working on my master-thesis and using many plots. I write in german so the plots contain sometimes german umlaute, such as ä ö ü. But that doesn t work.
I found out that theres a possibility to specify the interpreter to latex:
title('Example ä ö ü', 'Interpreter','Latex')
But that changes the style, font.... I like to use the Matlab Font, and thats also easier to change.
The i tried
title(['a with umlaut is ' char(228) ])
But unfotunately that doesn t work.
I use Matlab 2012b on Linux Ubuntu 12.04
Is there a simple posibillity to solve the problem ?
Greets Vlad Stoica

采纳的回答

ChristianW
ChristianW 2013-2-10
I dont have Ubuntu but you can try this:
title('Example \"a \"o \"u')
title('Example ä ö ü','Interpreter','none')
  1 个评论
Vlad
Vlad 2013-2-11
Tanks for the fast answer! Sorry, that doesn t work. The first example, works just if i choose interpreter Latex. And the the font is changed and looks badly.
The second prints instead ä ö ü some strange signs

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Specifying Target for Graphics Output 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by