hh,hhf],’sin(x)+cos(x)’,’exp(x)’,’cos(x)’,’sin(x)’,0); %加注多条线的图例
用法:linspace(x1,x2,N)
功能:linspace是Matlab...中的一个指令,用于产生x1,x2之间的N点行矢量。...三、坐标轴标注:
figure;
t=0:.1:3*pi;
[H,Ha,Hb]=plotyy(t,sin(t),t,exp(t));
d1=get(H(1),’ylabel’);
set(d1,...’string’,’yayacpf’);
d2=get(H(2),’ylabel’);
set(d2,’string’,’bbs from hit’,’fontsize’,18);
四、双坐标轴...[0.0239,0.0545,0.1165,0.1003,0.1413,0.2381,0.2433];
[AX,H1,H2]=plotyy(X,Y1,X,Y2,’plot’,’plot’); %双y轴图像