File: gnuplot.script.example

package info (click to toggle)
pmacct 0.11.4-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,468 kB
  • ctags: 4,794
  • sloc: ansic: 31,910; sh: 3,171; makefile: 170
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