Add plotting code and plots