code for plotting