Search code examples
matlabplotmatlab-hg2

Plot with japanese characters in MATLAB 2014b


MATLAB 2014b is using a new graphic environment (HG2) and I was not able to display japanese characters on my plots. For example the code below does not display the japanese character correctly. I remember to have read before the release that HG2 would support foreign languages. Do I need to set something ? In the previous graphic environment, I did not have any problem with it.

plot(1)
title('日本')

Solution

  • What OS are you using? I just tried using R2014b on GLNXA64 and WIN64 and it seemed to work fine for me:

    Screenshot on GLNXA64 Screenshot on WIN64

    Perhaps you need to contact MathWorks technical support.