Fixed plotting for the number of iterations of CSV sampling.