analysis and plotting macros for HIN-12-002