Monday, March 28, 2011

gnuplot

run gnuplot:

gnuplot> set timefmt "%H:%M:%S"
gnuplot> set xdata time
gnuplot> set logscale y
gnuplot> plot "day_poll.txt" using 2:1 title ' my title '

gnuplot> plot "<awk '{i=i+$2; print $1,i}' clicks_.txt" title ' clicks'
gnuplot> plot "<awk '{i=i+$2; print $1,i}' out-log-final.txt" title "LG", "<awk '{i=i+$2; print $1,i}' clicks_.txt" title "ozen"
.

No comments: