0
clear
reset
unset key
set terminal pngcairo
set output "speed.png"
set title "Speed w.r.t. execution time and file size"
set xlabel "file size [Byte]"
set ylabel "Time [s]"
set linetype 1 pi -1 pt 6 lc black dt solid
set linetype 2 pi -1 pt 4 lc black dt (8,6)
plot \
"speed_pc.dat" t "PC" with line, \
"speed_droid.dat" t "device" with line
生成此圖片:
但Im't堅持,因爲我不明白爲什麼它沒有在第二行中打印出行的標題和+的數據對應關係,就像這張圖片(摘自「Gnuplot in action 2nd」):
更清晰: 我想要我的第二行像'稀疏2'。
謝謝!