tools for anlyizing and plotting SAM output