我尝试根据this question的答案进行set yabel={/*2.0 MyLabel}
,但这只是用这些文字打印了 ylabel。
最佳答案
您只需使用 font
参数即可指定字体选项,如下所示:
set xlabel "x-units" font "Times-Roman,12"
set ylabel "y-units" font "Times-Roman,12"
或者您可以省略任一参数,例如,如果您想设置字体大小而不是字体:
set xlabel "x-units" font ",12"
set ylabel "y-units" font ",12"
gnuplot 官方文档 can be found here ,我还建议查看 http://www.gnuplotting.org/
关于gnuplot - 如何增加 gnuplot 中 ylabel 的字体大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18119830/