Changeset 4618

Show
Ignore:
Timestamp:
02/17/10 18:17:49 (4 years ago)
Author:
soohyunc
Message:

modified gnuplot script

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/cc/seqno.sh

    r4614 r4618  
    2323 
    2424EOF 
     25 
     26gnuplot -persist << EOF 
     27set terminal postscript eps enhanced color 
     28set output "seqno.eps" 
     29 
     30set title "time-seqno plot" 
     31set xlabel "time (sec)" 
     32set ylabel "seqno" 
     33 
     34set mxtics 2 
     35set mytics 2 
     36 
     37set xrange [$1:$2] 
     38set yrange [$3:$4] 
     39 
     40plot \ 
     41"encs.xg" with impulses title "start encoding", \ 
     42"ence.xg" with impulses title "end encoding" lc 4 lt 1, \ 
     43"inXR.xg" with impulses title "ackvec arrival" lt 1 lc 2, \ 
     44"seqno.xg" pt 4 lc 3 title "packet" 
     45 
     46EOF 
     47 
     48gnuplot -persist << EOF 
     49set terminal postscript eps enhanced color 
     50set output "enct.eps" 
     51 
     52set title "encoding time" 
     53set xlabel "num encoding" 
     54set ylabel "time (sec)" 
     55 
     56set yrange [0:0.005] 
     57set mxtics 2 
     58set mytics 2 
     59 
     60plot \ 
     61"enct.xg" with lines title "encoding time", \ 
     62"grt.xg" with lines lt 1 lc 3 title "grabbing time" 
     63 
     64EOF