1、 在同一个图里做三维图的投影 hold on; plot3(x,y,zeros(1,length(x)),'r'); plot3(x,zeros(1,length(x)),z,'c'); plot3(zeros(1,length(x)),y,z,'g'); hold off;