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


%第九章第二节变速风机仿真图绘制 
% %*********************************************** 
 
x=ScopeData1.time; 
subplot(4,1,1); 
plot(x,ScopeData1.signals(1,1).values); 
grid on; 
axis([0 30 8 16]); 
ylabel('v(m/s)') 
 
subplot(4,1,2); 
plot(x,ScopeData1.signals(1,2).values); 
grid on; 
axis([0 30 0 1.5]); 
ylabel('V(pu)') 
 
subplot(4,1,3); 
plot(x,ScopeData1.signals(1,3).values); 
grid on; 
axis([0 30 0 6]); 
ylabel('P(pu)') 
 
subplot(4,1,4); 
plot(x,ScopeData1.signals(1,4).values); 
grid on; 
axis([0 30 -0.04 0.01]); 
ylabel('Q(pu)') 
xlabel('t/s'); 
 
%********************************************* 
% x=ScopeData1.time; 
% subplot(4,1,1); 
% plot(x,ScopeData1.signals(1,1).values); 
% grid on; 
% axis([0 2 8 16]); 
% ylabel('v(m/s)') 
%  
% subplot(4,1,2); 
% plot(x,ScopeData1.signals(1,2).values); 
% grid on; 
% axis([0 2 0 1.5]); 
% ylabel('V(pu)') 
%  
% subplot(4,1,3); 
% plot(x,ScopeData1.signals(1,3).values); 
% grid on; 
% axis([0 2 -10 10]); 
% ylabel('P(pu)') 
%  
% subplot(4,1,4); 
% plot(x,ScopeData1.signals(1,4).values); 
% grid on; 
% axis([0 2 -4 10]); 
% ylabel('Q(pu)') 
% xlabel('t/s');