updated plot_sop files and matplotlib snippets