参考链接:一个ns-3的Gnuplot例子
命令:
cp /home/wasdns/Documents/NS3/ns-3.17/examples/tutorial/fifth.cc /home/wasdns/Documents/NS3/ns-3.17/scratch
./waf --run scratch/fifth >fifth.dat 2>&1
sudo apt-get install gnuplot
apt-get install plotutils
gnuplot
set terminal png size 640,480
set output "fifth.png"
plot "fifth.dat" using 1:2 title "Congestion Window" with linespoints
exit