【发布时间】:2020-03-15 02:49:00
【问题描述】:
我正在 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 same 代码工作正常,但我需要输出在 pdf.
提前致谢。
【问题讨论】:
标签: gnuplot