cleaned plotting code, plot 11.6