📄 shili04.m
字号:
function shili04
h0=figure('toolbar','none',...
'position',[400 400 400 400],...
'name','实例04');
x=0:900;
a=2;
b=0.005;
y1=a*x;
y2=cos(b*x);
[haxes,hline1,hline2]=plotyy(x,y1,x,y2,'semilogy','plot');
%调用PLOTYY()函数;
axes(haxes(1))
ylabel('semilog plot');
%标注第一Y轴
axes(haxes(2))
ylabel('linesr plot');
%标注第二Y轴
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -