x=0:0.1:4*pi; y=sin(x); plot(x,y); axis([-inf,inf,0,1]);