adding a plotting routine to the default, for sanity checking