You're a pixel artist 👩🎨. You have a collection of five 10x10-pixel images stored in a 5x3x10x10 array.
The (i,j,k,l) element corresponds to the ith image, jth color channel (RGB), kth row of pixels, jth column of pixels.
You want to plot these images, but your plotting software expects color channel to be the last dimension of the array. Rearrange your array accordingly.