support for 1D mdscale
support for custom plotting function, e.g. imagesc