x=[0:pi/100:2 pi];
y1=2*cos(x);
y2=cos(x);
y3=0.5*sin(x);
plot(x,y1,'*',x,y2,'-',x,y3,'--');
xlabel('0\leqx\leq2\pi');
ylabel('sin(x),cos(x)');
title('expo-plot.m');
legend('x,y1','x,y2','x,y3');
y1=2*cos(x);
y2=cos(x);
y3=0.5*sin(x);
plot(x,y1,'*',x,y2,'-',x,y3,'--');
xlabel('0\leqx\leq2\pi');
ylabel('sin(x),cos(x)');
title('expo-plot.m');
legend('x,y1','x,y2','x,y3');
No comments:
Post a Comment