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;