Does Julia support Chinese characters when plotting graph?

Dear all ,

How to dispaly Chinese characters in the graph?

julia> y = rand(10);

julia> t = 1:10;

julia> plot(t, y, xlabel = "时间")
GKS: glyph missing from current font: 26102
GKS: glyph missing from current font: 38388
GKS: glyph missing from current font: 26102
GKS: glyph missing from current font: 38388
GKS: glyph missing from current font: 26102
GKS: glyph missing from current font: 38388
GKS: glyph missing from current font: 26102
GKS: glyph missing from current font: 38388
GKS: glyph missing from current font: 26102
GKS: glyph missing from current font: 38388

xxx

I have solved this problem.

using PlotlyJS
plotlyjs()
plot(rand(10), xlabel = "时间")

1 Like