compute convergence plot