how to plot a figure with a title in Arabic?

4 views (last 30 days)
Hi there,
How can I plot a figure with a title in arabic (in xlable, ylable and legend)
Thanks.

Answers (1)

Chunru
Chunru on 4 Sep 2021
Matlab support unicodes:
plot(rand(6,1));
title("بﺖ"); % random arabic charactors
xlabel("بﺖ");
ylabel("بﺖ");
  11 Comments
Walter Roberson
Walter Roberson on 4 Sep 2021
It would probably end up having to be something like
xlabel(codes, 'fontname', 'Arabic Traditional')

Sign in to comment.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!