%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% APP01立体图
WF1=[-60008.1983,50994.91024]; WF2=[-77788.62719,-3693.043116];ZS=[-44764.25165,-60284.2845]; WF3=ZS;WF4=[-26036.40458,-48319.45459];
WF5=[30121.24622,9004.409744]; WF6=[55456.70128,9105.019109];WF7=[88142.2893,39802.34119];WF8=[88142.2893,39802.34119];
APP01_x=[WF1(1),WF2(1),WF3(1),WF4(1),WF5(1),WF6(1),WF7(1),WF8(1),WF1(1)];
APP01_y=[WF1(2),WF2(2),WF3(2),WF4(2),WF5(2),WF6(2),WF7(2),WF8(2),WF1(2)];
for i=1:length(APP01_x)
APP01_up_z(i)=5400;
APP01_down_z(i)=0;
end
plot3(APP01_x,APP01_y,APP01_up_z,'g-*');
hold on;
plot3(APP01_x,APP01_y,APP01_down_z,'g-*');
hold on;
for i=1:length(APP01_x);
x_temp=[APP01_x(i),APP01_x(i)];
y_temp=[APP01_y(i),APP01_y(i)];
z_temp=[APP01_down_z(i),APP01_up_z(i)];
plot3(x_temp,y_temp,z_temp,'g-*');
hold on;
end
%%%%%%%%%%%%%%%%%%%%% 填充APP01
fill3(APP01_x,APP01_y,APP01_up_z,'g');
hold on;
patch(APP01_x,APP01_y,APP01_down_z,'g')
hold on;
x_temp2=[]; y_temp2=[]; z_temp2=[];
for i=1:length(APP01_x)-1;
x_temp2=[APP01_x(i),APP01_x(i),APP01_x(i+1),APP01_x(i+1)];
y_temp2=[APP01_y(i),APP01_y(i),APP01_y(i+1),APP01_y(i+1)];
z_temp2=[APP01_down_z(i),APP01_up_z(i),APP01_up_z(i+1),APP01_down_z(i+1)];
patch(x_temp2,y_temp2,z_temp2,'g')
hold on;
end
alpha(0.2); %%%%%%%%%%%% 填充颜色透明度设置
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%