Ubuntu - german umlaute in plots

6 vues (au cours des 30 derniers jours)
Vlad
Vlad le 10 Fév 2013
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

Réponse acceptée

ChristianW
ChristianW le 10 Fév 2013
I dont have Ubuntu but you can try this:
title('Example \"a \"o \"u')
title('Example ä ö ü','Interpreter','none')
  1 commentaire
Vlad
Vlad le 11 Fév 2013
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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Text Data Preparation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by