Plotting of 3D arrays