1

Matlab cannot display Arabic/Persian labels of the figure. Also I cannot see my installed fonts and I don't want to add the labels by another program. How can I fix this problem?

Matlab-figure-Arabic-Persian-label-problem

Dante
  • 611
  • 1
  • 7
  • 21

1 Answers1

0

What you're looking for is a way to display unicode characters in axes labels.

It seems that this problem was encountered before, but there's no simple solution for it. See workarounds here and here.

One important thing though - do not edit .m files containing unicode\utf-8 characters (such as Arabic, Farsi, Hebrew, Chinese, etc...) in MATLAB, because it messes up the characters upon saving. Use an external editor (like Notepad++) to edit and save the files (as UTF-8 without BOM), and only run in MATLAB.

Community
  • 1
  • 1
Dev-iL
  • 23,742
  • 7
  • 57
  • 99