我用繪製連接圖下面的腳本和數據集:GNUPLOT X軸移動數據點
set term postscript enhanced color solid
set output "speedup_v1.ps"
set title "Speedup"
set key left top
set yrange[0:128]
set xtics (0,1,2,4,8,16,32,64,128)
set xlabel 'Processes'
set ylabel 'Speedup'
plot 'speedup_v1.dat' using 1:2 title "Speedup" with linespoints, \
'speedup_v1.dat' using 1:3 title "Speedup (linear)" with linespoints
0 0 0
1 1 1
2 1,692 2
4 3,675 4
8 7,739 8
16 9,840 16
32 18,61 32
64 42,77 64
128 82,43 128
我想留在圖喜歡它是正確的,但現在在x軸的數據點彼此之間應該有相同的距離。現在64p -> 128p
吃了一半的屏幕,我想它是1/8
。提前致謝!