function updateDataCursor(this,hDataCursor,target)

% Copyright 2004 The MathWorks, Inc.

[p,v,ind,pfactor,face,faceiout] = vertexpicker(get(this,'Children'),target,'-force');   
set(hDataCursor,'Position',v);
set(hDataCursor,'DataIndex',ind);

