See below for ABC / XYZ matrix and legend