Z=np.array([[10.,12.,12.,5.],
[10.,0.,0.,5.],
[10.,0.,0.,5.],
[10.,20.,20.,20.]])
X = np.arange(0, 4, 1)
Y = np.arange(0, 4, 1)
I have a 2D 4x4 array with. I want to make a 3D plot with x and y axes having discrete integer values from 0 to 4. Can someone help me with that?