www.gusucode.com > mbcview 工具箱matlab源码程序 > mbcview/@cgtradeoffgui/@mmSiteGraphView/pGetHitPoint.m
function pGetHitPoint(obj) %PGETHITPOINT Get last hit point on axes % % PGETHITPOINT(OBJ) updates the last hit point from the axes' current % point. % Copyright 2000-2004 The MathWorks, Inc. and Ford Global Technologies, Inc. % Record the last hit on the axes for context menus to work with pt = get(obj.hAxes, 'CurrentPoint'); obj.LastHitPoint = pt(1, 1:2);