1: #NS2_有线部分\ForGnuplot.plot
2:
3: #gnuplot>
4: #set xtics 0, 1, 10
5: set grid
6: set xrange [0:10]
7: set yrange [0:1000]
8: set key top left set key bottom right
9: set key box
10: set title "TCP Throughput"
11: set xlabel "Time(s)"
12: set ylabel "Throughput(kb)"
13:
14: set label "delay = 0.01" at 1, 100
15: set arrow from 1,100 to 2, 400
16:
17:
18: set terminal gif
19: set output "Throughput.gif"
20:
21: plot "Throughput" with lines
22:
本文介绍如何使用gnuplot软件绘制TCP吞吐量随时间变化的动画,涉及设置图表样式、添加标题、坐标轴标签、箭头等元素。
192

被折叠的 条评论
为什么被折叠?



