MATLAB: 3d point colouring – 21 by 21 by 21 matrix

3dfieldMATLABplot

Hi,
I have a matrix 21 by 21 by 21. I need to do a "field plot" of this matrix, in which the matrix index defines the position & the value of the matrix element defines the point colour.
Any suggestions how to do this?
Thanks in advance.
Regards,

Best Answer

What about something like slice?
doc slice