Plot雙y軸繪製常用代碼

代碼: %繪製雙y圖; x=0:0.001:5; figure('color',[1 1 1]); %將背景設置爲白色 [hAx,hLine1,hLine2]=plotyy(x,SRFlateral,x,Dy); %這裏的SRFlateral,Dy是從simulink導出到workspace的變量 title('The numerical changes of SRFlateral and
相關文章
相關標籤/搜索