compare-das-10.plot

来自「采用蚂蚁算法实现ad hoc网络路由协议,平台为ns2」· PLOT 代码 · 共 49 行

PLOT
49
字号
set title "Delivery Ratio vs Max Pause Time"set xlabel "Max Pause Time"set ylabel "Delivery Ratio"set key title "Routing Protocol"set terminal postscript eps enhancedset output "analysed_results/compare-das-10-1.ps"plot \    'analysed_results/compare-das-10.data' index 0 using 2:4 title "AODV" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 1 using 2:4 title "DSR" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 2 using 2:4 title "SWARM" with linespoints lw 2set title "Delivery Cost vs Max Pause Time"set xlabel "Max Pause Time"set ylabel "Delivery Cost"set key title "Routing Protocol"set terminal postscript eps enhancedset output "analysed_results/compare-das-10-2.ps"plot \    'analysed_results/compare-das-10.data' index 0 using 2:9 title "AODV" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 1 using 2:9 title "DSR" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 2 using 2:9 title "SWARM" with linespoints lw 2set title "Average Latency vs Max Pause Time"set xlabel "Max Pause Time"set ylabel "Average Latency"set key title "Routing Protocol"set terminal postscript eps enhancedset output "analysed_results/compare-das-10-3.ps"plot \    'analysed_results/compare-das-10.data' index 0 using 2:14 title "AODV" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 1 using 2:14 title "DSR" with linespoints lw 2,\    'analysed_results/compare-das-10.data' index 2 using 2:14 title "SWARM" with linespoints lw 2

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?