Ubuntu - german umlaute in plots

조회 수: 8 (최근 30일)
Vlad
Vlad 2013년 2월 10일
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에서 Text Data Preparation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by