scripts for plotting solutions