2014-11-23 1 views

답변

1

fill3을 사용하면 도움이됩니다.

x = [0 0 5 5 0]; 
y = [5 5 0 0 5]; 
z = [0 5 5 0 0]; 
subplot(1,2,1) 
plot3(x,y,z,'LineWidth',5); 
grid on 
subplot(1,2,2) 
fill3(x,y,z,'y') 
grid on 

enter image description here

관련 문제