Borrar filtros
Borrar filtros

how to plot a figure with a title in Arabic?

3 visualizaciones (últimos 30 días)
mindo akami
mindo akami el 4 de Sept. de 2021
Comentada: Walter Roberson el 4 de Sept. de 2021
Hi there,
How can I plot a figure with a title in arabic (in xlable, ylable and legend)
Thanks.

Respuestas (1)

Chunru
Chunru el 4 de Sept. de 2021
Matlab support unicodes:
plot(rand(6,1));
title("بﺖ"); % random arabic charactors
xlabel("بﺖ");
ylabel("بﺖ");
  11 comentarios
Chunru
Chunru el 4 de Sept. de 2021
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
Walter Roberson el 4 de Sept. de 2021
It would probably end up having to be something like
xlabel(codes, 'fontname', 'Arabic Traditional')

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by