IMR data and plotting function