created the plotting routine for the method comparison