huright 发表于 2006-5-22 16:35

[原创]matlab画线框盒

function BoxPlot3(x0,y0,z0,Lx,Ly,Lz)
x=;
y=;
z=;
index=zeros(6,5);
index(1,:)=;
index(2,:)=;
index(3,:)=;
index(4,:)=;
index(5,:)=;
index(6,:)=;
for k=1:6
plot3(x(index(k,:)),y(index(k,:)),z(index(k,:)))
hold on
end

[ 本帖最后由 suffer 于 2006-10-9 20:42 编辑 ]

toes 发表于 2006-8-18 11:53

好像打开潘多拉魔盒一样
页: [1]
查看完整版本: [原创]matlab画线框盒