plot of error rates