included plot-making for loop