?? bpresult.m
字號:
function BPresult(Y)
figure(...
'Name','齒輪箱故障診斷結果圖',...
'NumberTitle','off', ...
'menubar','none',...
'Units','normalized');
whitebg('w');
x=1:5;
plot(x,Y(:,1),'r*');
hold on;
plot(x,Y(:,2),'g^');
hold on;
plot(x,Y(:,3),'bo');
hold on;
legend('第一個樣本','第二個樣本','第三個樣本',-1);
set(legend,'fontsize',9);
set(legend,'Color',[0.5 0.5 0.7]);
grid on;
hold on;
xlabel('無故障(Y2=1) 齒根裂紋(Y3=1) 斷齒(Y4=1)');
ylabel('輸出模式值');
hold off;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -