paper-9-(gnuplot) mptcp-test.plt - mptcp-test.png

# gnuplot mptcp-test.plt
# display mptcp-test.png
# mv mptcp-test.png /root/桌面

# mptcp-test-nc-4-if.mp4: 48:38 - 50:21 (103s) (638KB) (160KB)
# mptcp-test-nc-3-if.mp4: 52:19 - 54:09 (110s) (597KB) (199KB)
# mptcp-test-nc-2-if.mp4: 08:25 - 11:04 (159s) (412KB) (207KB)
# mptcp-test-nc-1-if.mp4: 28:37 - 33:19 (282s) (233KB) (233KB)

#set terminal png
#set term png font '/usr/share/fonts/wps-office/FZSongS_20100603.TTF,14'
#set term png font '/usr/share/fonts/windows-font/msyh.ttf,14'
set term png font '/usr/share/fonts/msttcore/times.ttf,14'

set output "mptcp-test.png"  

set xrange [0:5]
set yrange [0:300]
set ytics 0,50,300

set ytics nomirror
set y2range [100:700]
#set y2tics 5
set y2tics 100,100,700

set grid

# set key box reverse top Left Right samplen 2 spacing 1.2
set key at 4.9,226 top Right samplen 2

#set xlabel "网络接口(路径)数"
#set ylabel "传输时间(秒)"
#set y2label "传输速率(KB/秒)"
set xlabel "The number of network interfaces (paths)"
set ylabel "Transfer time (s)"
set y2label "Transfer speed (KB/s)"

#plot 'mptcp-test.dat' using 1:2 title "The Average RTT of ping" with lines ls 1 lw 1 lc "red"

#plot 'mptcp-test.dat' using 1:2 axis x1y1 title "Average RTT" with linespoints pointtype 2, \
#     'mptcp-test.dat' using 1:2 axis x1y2 title "CPU Utilization" with linespoints pointtype 3

#plot 'mptcp-test.dat' using 1:2 axis x1y1 title "传输时间" with lp pt 5 lw 1 lc "blue", \
#     'mptcp-test.dat' using 1:3 axis x1y2 title "平均总传输速率" with lp pt 7 lc "web-green", \
#     'mptcp-test.dat' using 1:4 axis x1y2 title "平均单路径传输速率" with lp pt 9 lc "orange-red"
plot 'mptcp-test.dat' using 1:2 axis x1y1 title "Transfer time" with lp pt 5 lw 1 lc "blue", \
     'mptcp-test.dat' using 1:3 axis x1y2 title "Average Transfer rate of all paths" with lp pt 7 lc "web-green", \
     'mptcp-test.dat' using 1:4 axis x1y2 title "Average Transfer rate of single path" with lp pt 9 lc "orange-red"



posted @ 2017-05-26 09:15  张同光  阅读(130)  评论(0编辑  收藏  举报