I have a data file with six pairs of XY-data. I want to plot the six functions in one graphic. But when I do so the lines look kind of ragged.
Here is my code:
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
As you can see the background is uncontrollably frayed. Obviously this phenomenon doesn't appear in the data, and when I'm only plotting a smaller sector (e.g. x1=25, x2=32) the background is not frayed like this.
Anyone knows why this is happening?