Plot 2d array.