如题所述
clc
x1=-2*pi:0.01:0;
y1=sin(x1);
x2=0:0.01:2*pi;
y2=exp(x2);
plot(x1,y1,'r',x2,y2,'b')
axis([-2*pi 2*pi -2 20])