MATLAB: Is it possible to view a three-dimensional variable in a grid with guide numbers (as with two-dimensional arrays)

grid linesguide numbersthree-dimensional arrays

When viewing three-dimensional variables in Matlab, there are no grid lines and guide numbers in the margins as there are with two-dimensional arrays. This makes it difficult to copy and paste the values into other programs, and refer to specific rows and columns. Is there a setting that will allow me to change this?
I have attached two screenshots showing the difference in the way the two types of arrays are displayed.

Best Answer

  • You take out the array you want and see.
    A = rand(100,100,100) ; % you cannot see here margin numbers
    T = A(:,:,7) ; % Now T is 2D you can see margins here.
    Still, I am wondering..why you want margin numbers. :|