Mat: implement Diag view