www.pudn.com > matlabsimulink.rar > c9s1tu.m, change:2010-11-18,size:1352b


%第九章第一节定速风机仿真图绘制 
% %*********************************************** 
 
% x=ScopeData1.time; 
% subplot(5,1,1); 
% plot(x,ScopeData1.signals(1,1).values); 
% grid on; 
% axis([0 30 0.98 1.02]); 
% ylabel('wr(pu)') 
%  
% subplot(5,1,2); 
% plot(x,ScopeData1.signals(1,2).values); 
% grid on; 
% axis([0 30 -1 2]); 
% ylabel('P(pu)') 
%  
% subplot(5,1,3); 
% plot(x,ScopeData1.signals(1,3).values); 
% grid on; 
% axis([0 30 -1 1.2]); 
% ylabel('Q(pu)') 
%  
% subplot(5,1,4); 
% plot(x,ScopeData1.signals(1,4).values); 
% grid on; 
% axis([0 30 0.96 1.02]); 
% ylabel('V(pu)') 
%  
% subplot(5,1,5); 
% plot(x,ScopeData1.signals(1,5).values); 
% grid on; 
% axis([0 30 0 20]); 
% ylabel('v(m/s)') 
% xlabel('t/s'); 
%********************************************* 
x=ScopeData1.time; 
subplot(5,1,1); 
plot(x,ScopeData1.signals(1,1).values); 
grid on; 
axis([0 1 0.98 1.02]); 
ylabel('wr(pu)') 
 
subplot(5,1,2); 
plot(x,ScopeData1.signals(1,2).values); 
grid on; 
axis([0 1 -5 5]); 
ylabel('P(pu)') 
 
subplot(5,1,3); 
plot(x,ScopeData1.signals(1,3).values); 
grid on; 
axis([0 1 -5 5]); 
ylabel('Q(pu)') 
 
subplot(5,1,4); 
plot(x,ScopeData1.signals(1,4).values); 
grid on; 
axis([0 1 0 1.5]); 
ylabel('V(pu)') 
 
subplot(5,1,5); 
plot(x,ScopeData1.signals(1,5).values); 
grid on; 
axis([0 1 0 20]); 
ylabel('v(m/s)') 
xlabel('t/s');