12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

isocapscolored. The isosurface patch (p1) used a flat red face color, which is affected bythe lights, but does not use the colormap.load mriD = squeeze(D);D(:,1:60,:) = [];p1 = patch(isosurface(D, 5),'FaceColor','red',...'EdgeColor','none');p2 = patch(isocaps(D, 5),'FaceColor','interp',...'EdgeColor','none');view(3); axis tight; daspect([1,1,.4])colormap(gray(100))camlight left; camlight; lighting gouraudisonormals(D,p1)See Alsoisosurface, isonormals, smooth3, subvolume, reducevolume, reducepatch2-252

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!