Transpose the images before plotting