Plot validation result after each iteration.