#!/bin/bash
grep DRATE gossip.log | ./compile_data.pl > delivery.stats
gnuplot < plot_delivery.gpl 
gnuplot < plot_delivery_zoom.gpl 

grep BRATE gossip.log | ./compile_data.pl > broadcast.stats
gnuplot < plot_broadcast.gpl

grep -E 'HRATE - (4|12).0\.(30|50|70)' gossip.log | ./compile_hop_data.pl > hop.stats
gnuplot < plot_hops.gpl
