Each matrix that has been defined with grace_matrix/2 has one checkbutton in the matrix switches panel. When it is on, the variable matrix is displayed, when it is off, the matrix is removed from the display: