plot(sin((0:pi/20:2*pi)+0.5*pi),'cp--')
annotation('arrow','X',[0.1,0.5],'Y',[0.6,0.4]) %里面的数字分别是X和Y的比例