greek words in axis labels
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Ioannis Vourvachakis
am 31 Mai 2022
Kommentiert: Ioannis Vourvachakis
am 31 Mai 2022
Hello, I am from Greece and I want to write the axis labels in plots in Greek language. Is it possible? Thank you
0 Kommentare
Akzeptierte Antwort
DGM
am 31 Mai 2022
Bearbeitet: DGM
am 31 Mai 2022
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Labels and Annotations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!