File: gnuplot.script.example

package info (click to toggle)
pmacct 0.14.0-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,996 kB
  • sloc: ansic: 60,798; sh: 636; makefile: 286
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