matlab学习笔记 双y轴曲线: x=0:0.01:2*pi y1=sin(x); y2=0.01*cos(x); yyaxis left; plot(x,y1); yyaxis right; plot(x,y2,'--')