在图上加箭头的函数有annotation(),quiver(),
annotation()函数
(1) annotation(annotation_type) % 以指定的对象类型,使用默认属性值建立注释对象。
(2) annotation('line',x,y) % 建立从(x(1), y(1))到(x(2), y(2))的线注释对象。
(3) annotation('arrow',x,y) % 建立从(x(1), y(1))到(x(2), y(2))的箭头注释对象。
(4) annotation('doublearrow',x,y)% 建立从(x(1), y(1))到(x(2), y(2))的双箭头注释对象。
(5) annotation('textarrow',x,y)