pro vpd1,vx1,vy1,step,thr,im ; ; modification of vpd ; white background, dark coordinates ; step ... the arrow will be ploted for each step-th point ; thr ... threshold to cut out too high values in vx1,vy1 ; im ... underlying image (e.g. avg. image of the movie) ; vx=vx1>(-thr) vx=vx(-thr) vy=vy