If you type edit ginputand scroll to line 238-ish, you will see
% Adding this to enable automatic updating of currentpoint on the figure
set(fig,'WindowButtonMotionFcn',@(o,e) dummy());
, ginput a WindowButtonMotionFcn . , impixelinfo , , ginput.
, impixelinfoval (, impixelinfo), 83:
callbackID = iptaddcallback(hFig,'WindowButtonMotionFcn', @displayPixelInfo);
: reset , 4 ?
222-ish ginput:
initialState.uisuspendState = uisuspend(fig);
-, uisuspend , WindowButton*, reset . ,
%initialState.uisuspendState = uisuspend(fig);
ginput, , , .
, . , , , .