这是一个基于NS2的仿真实现代码

源代码在线查看: fast-test5-plot.gp

软件大小: 31 K
上传用户: huanzhudev
关键词: NS2 仿真实现 代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				set term png color								set size .75,.75				set key bottom				set pointsize .5				set xlabel "Time (seconds)"				set xrange [0:*]								set output 'fast-test5-rate.png'				set ylabel "rate (Pkt/s)"				set yrange [0:*]				plot    'src0.dat' using 2:5 t 'Source 1' w lp 1								set output 'fast-test5-src0-state.png'				set ylabel "RTT (seconds)"				set yrange [0:*]				plot    'src0.dat' using 2:8 t 'Source 1 baseRTT' w lp 1, \					'src0.dat' using 2:7 t 'Source 1 RTT' w lp 3								set output 'fast-test5-src0-pif.png'				set ylabel "RTT (seconds)"				set yrange [0:*]				plot    'src0.dat' using 2:9 t 'Source 0 PIF' w lp 1								set output 'fast-test5-queue.png'				set ylabel "Queue size (packets)"				set yrange [0:*]				plot    'record.dat' using 2:3 t 'Forward Queue' w lp 1, \					'record.dat' using 2:4 t 'Backward Queue' w lp 2								set output 'fast-test5-window.png'				set ylabel "Congestion window (packets)"				set yrange [0:*]				plot	'src0.dat' using 2:6 t 'Window Src 0' w lp 1																			

相关资源