gnuplotで日本語を表示

フォントを指定すると日本語を表示できる。ただ、文字化けすることもある。

gnuplot> set terminal emf color "Ryumin-Light-EUC-H" 20
gnuplot> set output "test.emf"
gnuplot> set xlabel "横軸" font "Ryumin-Light-EUC-H"
gnuplot> set ylabel "縦軸" font "Ryumin-Light-EUC-H"
gnuplot> set xrange [-10:10]
gnuplot> set yrange [-20:20]
gnuplot> set title "タイトル" font "Ryumin-Light-EUC-H"
gnuplot> plot exp(x) title "プロット1", x**2 title "プロット2"

得られたtest.emfに関して、表示するソフトによっては背景が真っ黒になってしまったり、読み込みができなかったりするが原因は不明。