plot the statistics