how to plot a figure with a title in Arabic?
5 ビュー (過去 30 日間)
古いコメントを表示
Hi there,
How can I plot a figure with a title in arabic (in xlable, ylable and legend)
Thanks.
0 件のコメント
回答 (1 件)
Chunru
2021 年 9 月 4 日
Matlab support unicodes:
plot(rand(6,1));
title("بﺖ"); % random arabic charactors
xlabel("بﺖ");
ylabel("بﺖ");
11 件のコメント
Chunru
2021 年 9 月 4 日
listfonts() does not give the Arabic fonts. I also chech Fonts under Windows. It looks like the Arabic font is not installed in my machine. That may explain why it does not work on my machine.
Walter Roberson
2021 年 9 月 4 日
It would probably end up having to be something like
xlabel(codes, 'fontname', 'Arabic Traditional')
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!