Code to plot lagtracker results.