#
# plot qos.data files obtained by gst-launch -r ...
# gnuplot gst-plotqos.gp
#
set title "QOS propotion"
set xlabel "Time"
set ylabel "QOS"
set ytics 0.0,0.5
set grid
set data style lines

# how can we draw a marker
#set arrow from 0,1 to 10,1 nohead lt -1 lw 1

# how to handle milliseconds?
# cut -c6- qos.data.bak >qos.data
# set xdata time
# set timefmt "%H:%M:%S.????"

set term png size 800, 600
set output "qos.png"
plot "qos.data" using 1:2 title "qos"

set term postscript enhanced color
set output "qos.ps"
replot
