필터 지우기
필터 지우기

greek words in axis labels

조회 수: 1 (최근 30일)
Ioannis Vourvachakis
Ioannis Vourvachakis 2022년 5월 31일
댓글: Ioannis Vourvachakis 2022년 5월 31일
Hello, I am from Greece and I want to write the axis labels in plots in Greek language. Is it possible? Thank you

채택된 답변

DGM
DGM 2022년 5월 31일
편집: DGM 2022년 5월 31일
Forgive the blind translation attempt, but wouldn't something like this work?
hungerpct = 1:100;
bph = (1:100).'.*[2 3] + [0 5] + 5*rand(100,2);
hp = plot(hungerpct,bph);
legend(hp,{'Diddy Kong','Donkey Kong'})
xlabel('Πείνα (%)')
ylabel('Ποσοστό κατανάλωσης μπανάνας (μπανάνες/ώρα)')
Unicode characters should generally be supported, so this should work. If on the other hand, you're trying to feed it something like "banánas" and have the figure automatically do the character translation to "μπανάνας", that might be a different story.
  댓글 수: 1
Ioannis Vourvachakis
Ioannis Vourvachakis 2022년 5월 31일
Thank you very much, I fixed this. However, you speak very good Greek!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by