File: gnuplot.script.example

package info (click to toggle)
pmacct 1.7.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,904 kB
  • sloc: ansic: 110,430; sh: 4,794; cpp: 4,375; python: 3,632; makefile: 525
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