Analyzing and plotting results