File: timeseq.cmd

package info (click to toggle)
ns2 2.35%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 78,796 kB
  • sloc: cpp: 172,923; tcl: 107,130; perl: 6,391; sh: 6,143; ansic: 5,846; makefile: 816; awk: 525; csh: 355
file content (16 lines) | stat: -rwxr-xr-x 363 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# create time-sequence graph with gnuplot
gnuplot <<!
#color
set terminal postscript eps 20
set xlabel "Time, s"
set ylabel "Sequence Number"
#set size 1.3,0.5
#set yrange [0:1000]
set key left top
set output "$1.eps"
y(x)=x*90
plot "packets" thru y(x) title 'data', "acks" thru y(x) title \
'acks' pt 4, 'drops' thru y(x) title 'drops' pt 2
#pt 5 4 
!