在Gnuplot输出中压缩的图例、标题和轴标签

在Gnuplot输出中压缩的图例、标题和轴标签,gnuplot,Gnuplot,我在gnuplot中制作一个图形,当我选择一个输出为pdf时,所有标签都被压缩在一起(单词中的字母之间没有空格) 这是我的密码: set term pdf set out "spiral_r.pdf" set log xy set key left set title "Distance to the center" font ",14" set xlabel "i^{1/2}" font ",10" set ylabel "Disctance" font ",10" plot 'spir

我在gnuplot中制作一个图形,当我选择一个输出为pdf时,所有标签都被压缩在一起(单词中的字母之间没有空格)

这是我的密码:

set term pdf
set out "spiral_r.pdf"

set log xy
set key left

set title "Distance to the center" font ",14"
set xlabel "i^{1/2}" font ",10"
set ylabel "Disctance" font ",10"

plot 'spiral.dat' u (sqrt($1)):(sqrt($2*$2+$3*$3)) w l title "Distance"

quit
这是输出 这是我得到的。我不明白的是,如果我将输出更改为png,相同的代码可以正常工作,但我需要以pdf格式输出


提前感谢。

这是因为pango/cairo库版本不好。如果您将库升级或降级到工作版本,那么gnuplot也将神奇地工作

详细的版本信息因您的操作系统而异。一个先前报道的分析是,在MacOS pango上,1.43是好的,但1.44是坏的。如果你最近升级了一台Mac电脑,你可能会得到一个坏的库

https://sourceforge.net/p/gnuplot/bugs/2194/

什么是pango/开罗图书馆?我该如何提升它?