extend plotting code for thresholding and add a summary method