需求

需要在gnuplot中设置中文标签。

解决

plt文件的最开始处设置:

set terminal postscript eps color enhanced font "C:\Windows\Fonts\simsun.ttc,10"
set term eps font "C:\Windows\Fonts\simsun.ttc, 10"

然后设置y轴标签:

set ylabel "平均响应时间(秒)" font "C:\Windows\Fonts\simsun.ttc, 13" offset -0.4, 0

版权声明:本文为Cyril_KI原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
原文链接:https://blog.csdn.net/Cyril_KI/article/details/129741751