The input arguments are the same as for the MATLAB inbuilt function annotation('arrow',...) but the position is defined in the data coordinate system.
This function is just a little workaround to add arrows to figures which I use for publications.
Jakob Ziegler (2020). drawArrow(x,y,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/65769-drawarrow-x-y-varargin), MATLAB Central File Exchange. Retrieved .