www.pudn.com > PID-baincheng.rar > phuitu.m, change:2008-06-09,size:448b


figure(1); 
plot(t,x,'k',t,xd,'k:');axis([0,12.5,-1.4,1.4]); 
xlabel('时间/s');ylabel('x'); 
figure(2); 
plot(t,y,'k',t,yd,'k:');axis([0,12.5,-1.4,1.4]); 
xlabel('时间/s');ylabel('y'); 
figure(3); 
plot(t,ex,'k');axis([0,12.5,-0.3,0.3]); 
xlabel('时间/s');ylabel('X轴误差'); 
figure(4); 
plot(t,ey,'k');axis([0,12.5,-0.5,1.3]); 
xlabel('时间/s');ylabel('Y轴误差'); 
figure(5); 
plot(x,y,'k');axis([-1.4,1.4,-1.4,1.4]); 
xlabel('X轴');ylabel('Y轴');