File: gnuplot.script.example

package info (click to toggle)
pmacct 0.10.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,996 kB
  • ctags: 3,469
  • sloc: ansic: 24,572; sh: 3,136; makefile: 98
file content (10 lines) | stat: -rw-r--r-- 315 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
set term png small color
set data style lines
set grid
set yrange [ 0 : ]
set title "Traffic in last XX hours"
set xlabel "hours"
set ylabel "kBytes"
set multiplot
plot "in.txt" using ($1/3600):($2/1000) title "IN Traffic" with linespoints, "out.txt" using ($1/3600):($2/1000) title "OUT Traffic" with linespoints