add a figure to show the statistics
create a figures folder to store the figures