chart_z_matrix