set style histogram errorbars gap 1 lw 1
plot 'result' using 3:2:4:xtic(1) title "Latency", \
'' using 6:(0):(0) axes x1y2 title "Lost frames"
set style histogram errorbars gap 1 lw 1
plot 'result' using 3:2:4:xtic(1) title "Latency", \
'' using 6:(0):(0) axes x1y2 title "Lost frames"