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"



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值