MATLAB: How to create slices of a 3D Volume

3d3d plotsdelaunaymeshorthogonalslicesvolumes

Hi everyone,
I have 14 sets of 3D points where each set represents a sub-nucleus of a region in the brain. I'd like to do two things with this data:
1. Create volumes (not surfaces!) of each sub-nuclei data set
2. Plot all 14 volumes at once, and view (orthogonal) slices at whatever X-value (for YZ, or Sagittal Images), Y-value (for XZ, or Coronal Images), or Z-value (for XY, or Axial images) I choose.
So far, I've done this by generating Delaunay Triangulations, and changing the limits of the axes. However, the resulting plots are quite messy. I dislike being able to see the lines that show the triangles. The sub-nuclei are color-coded, so I'd rather not see any connectivity lines. Is there a cleaner, smoother way of doing this?
Thanks!

Best Answer

Well I can help you with the lines, set the 'edgecolor' to 'none'
[x,y] = meshgrid(1:15,1:15);
tri = delaunay(x,y);
z = peaks(15);
h=trisurf(tri,x,y,z);
set(h,'EdgeColor','none')