zoukankan      html  css  js  c++  java
  • paper-9-(gnuplot) mptcp-test.plt

    # 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"



  • 相关阅读:
    模板的一些概念和技巧
    [转] Linux TCP/IP网络小课堂:net-tools与iproute2大比较
    [转] boost库的Singleton的实现以及static成员的初始化问题
    static对象的高级用法
    const中的一些tricky的地方
    delphi软件启动的顺序解密。
    属性名、变量名与 内部关键字 重名 加&
    delphi Inc函数和Dec函数的用法
    Centos 关闭防火墙
    IntelliJ IDEA 启动方法
  • 原文地址:https://www.cnblogs.com/ztguang/p/12644706.html
Copyright © 2011-2022 走看看