0

我有一个包含六对 XY 数据的数据文件。我想在一个图形中绘制六个函数。但是当我这样做时,线条看起来有点参差不齐。

这是我的代码:

set terminal pdf
set output 'test.pdf'

set xrange [10:150]
set yrange [-150:5000]

set xlabel "2 {/Symbol q} / °"
set ylabel "int. / a.u." offset .8,0

plot 'test.xy' using ($1):($2)   notitle   w lines ls 2, \
     'test.xy' using ($3):($4)   notitle   w lines ls 3, \
     'test.xy' using ($5):($6)   notitle   w lines ls 4, \
     'test.xy' using ($7):($8)   notitle   w lines ls 5, \
     'test.xy' using ($9):($10)  notitle   w lines ls 6, \
     'test.xy' using ($11):($12)   notitle   w lines ls 7

结果图的图片

如您所见,背景无法控制地磨损。显然这种现象并没有出现在数据中,当我只绘制一个较小的扇区(例如 x1=25,x2=32)时,背景不会像这样磨损。

任何人都知道为什么会这样?

4

0 回答 0