绘制双坐标轴的图形2-不同的plot类型

x = 0:0.1:10; y1 = 200*exp(-0.05*x).*sin(x); y2 = 0.8*exp(-0.5*x).*sin(10*x); figure [hAx,hLine1,hLine2]=plotyy(x,y1,x,y2,'plot','stem');#以不同形式绘图 ylabel(hAx(1),'Slow Decay') % left y-axis 修改左边y轴的标
相关文章
相关标签/搜索