%功能:plotyy函数使用实例
figure('Position',[350 275 450 350]);
x=0:pi/20:2*pi;
y=exp(sin(x));
plotyy(x,y,x,y,'plot','stem')
xlabel('x');
ylabel('y=exp(sin(x))');
开发工具:MATLAB 2022b
微信Alt+A截屏工具
本程序摘自《MATLAB 20085图形与动画实例教程》
%功能:plotyy函数使用实例
figure('Position',[350 275 450 350]);
x=0:pi/20:2*pi;
y=exp(sin(x));
plotyy(x,y,x,y,'plot','stem')
xlabel('x');
ylabel('y=exp(sin(x))');
开发工具:MATLAB 2022b
微信Alt+A截屏工具
本程序摘自《MATLAB 20085图形与动画实例教程》