creating plots of results