Modify plot3 to fit the reference mage better