implements threshold graphic