[Sumover-dev] [svn commit] r4618 - vic/branches/cc/cc

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Wed Feb 17 18:17:49 GMT 2010


Author: soohyunc
Date: Wed Feb 17 18:17:49 2010
New Revision: 4618

Modified:
   vic/branches/cc/cc/seqno.sh

Log:
modified gnuplot script



Modified: vic/branches/cc/cc/seqno.sh
==============================================================================
--- vic/branches/cc/cc/seqno.sh	(original)
+++ vic/branches/cc/cc/seqno.sh	Wed Feb 17 18:17:49 2010
@@ -22,3 +22,43 @@
 	"seqno.xg" ls 3
 
 EOF
+
+gnuplot -persist << EOF
+set terminal postscript eps enhanced color
+set output "seqno.eps"
+
+set title "time-seqno plot"
+set xlabel "time (sec)"
+set ylabel "seqno"
+
+set mxtics 2
+set mytics 2
+
+set xrange [$1:$2]
+set yrange [$3:$4]
+
+plot \
+"encs.xg" with impulses title "start encoding", \
+"ence.xg" with impulses title "end encoding" lc 4 lt 1, \
+"inXR.xg" with impulses title "ackvec arrival" lt 1 lc 2, \
+"seqno.xg" pt 4 lc 3 title "packet"
+
+EOF
+
+gnuplot -persist << EOF
+set terminal postscript eps enhanced color
+set output "enct.eps"
+
+set title "encoding time"
+set xlabel "num encoding"
+set ylabel "time (sec)"
+
+set yrange [0:0.005]
+set mxtics 2
+set mytics 2
+
+plot \
+"enct.xg" with lines title "encoding time", \
+"grt.xg" with lines lt 1 lc 3 title "grabbing time"
+
+EOF



More information about the Sumover-dev mailing list