figures and output from RRR book example