clear all x=0:pi/100:pi; y=sin(x); plot(x,y,'-ro')