Why am I loosing a row and a column in MATLAB slice plot?
3 views (last 30 days)
Bharath Lohray on 27 May 2015
I am trying to plot a 3D volume in MATLAB. I am using the slice command.
The figure I get has just one square (pixel). I am expecting 4 squares. How do I plot this? What am I doing wrong?
Walter Roberson on 27 May 2015
Under "Tips" for slice() you will see
The color drawn at each point is determined by interpolation into the volume V.
This is the same issue that hits pcolor: an NxM matrix has (N-1)x(M-1) interior locations.