support for matrix plot