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的比例
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的比例
转载于:https://www.cnblogs.com/ningxinjie/p/11363151.html