t = 0:0.5 ;2*pi; plot(t,sin(t),'r-.o',t,cos(t),'m-s') legend('sinx','cosx',4) axis([0 2*pi -2 2])