- /
-
Cylinder face
on 10 Oct 2021
- 41
- 33
- 0
- 0
- 235
d=repmat([255 0;0 255],7,7);
figure('Color','k')
[X,Y,Z]=cylinder(14,14);
for i=[1 2 2; 2 2 1]
subplot(2,i(2),i(1))
surface(X,Y,Z,d,'FaceColor','texturemap','EdgeColor','none','CDataMapping','direct')
view([-27 60])
axis off
colormap(gray(2))
end