generate_plot_and_download function

Plot at the UI and save