?? plotresults.m
字號:
figure(1)clf[ts,ys] = stairs(nschedule.time,nschedule.signals.values);subplot(413)set(gca,'FontSize',9)plot(ts,ys(:,1)-1,'b','Linew',0.8);axis([0 0.2 -0.1 0.6])set(gca,'YTick',-1)ylabel('Node 1')xlabel('Time')subplot(412)set(gca,'FontSize',9)plot(ts,ys(:,3)-3,'b','Linew',0.8);axis([0 0.2 -0.1 0.6])set(gca,'YTick',-1)ylabel('Node 2')subplot(411)set(gca,'FontSize',9)plot(ts,ys(:,4)-4,'b','Linew',0.8);axis([0 0.2 -0.1 0.6])set(gca,'YTick',-1)ylabel('Node 3')figure(1)clf[ts,ys] = stairs(schedule.time,schedule.signals.values);subplot(413)set(gca,'FontSize',9)plot(ts,ys(:,1)-1,'b','Linew',0.8);axis([0 0.2 -0.1 0.6])set(gca,'YTick',-1)ylabel('Controller')xlabel('Time')subplot(412)set(gca,'FontSize',9)plot(ts,ys(:,2)-2,'b','Linew',0.8);axis([0 0.2 -0.1 0.6])set(gca,'YTick',-1)ylabel('Interference')
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -