2011-01-03 27 views

答えて

4
figure 
[x,y]=meshgrid(1:15,1:15); 
tri = delaunay(x,y); 
z1 = peaks(15); 
th1 = trisurf(tri,x,y,z1); 
set(th1, 'FaceColor', 'b') 

hold all 
z2 = 0.4*peaks(15); 
th2 = trisurf(tri,x,y,z2); 
set(th2, 'FaceColor', 'r') 
hold off 
関連する問題