Windowbuttonmotionfcn
MouseMotionHandler is a MATLAB class that uses a MATLAB figured-deOaos WindowButtonMotionFcn callback as a hook to extend button motion functionality to all handle graphics child objects of a figure including axes, lines, surfaces uipanels, uicontrols etc.MouseMotionHandler provides an...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (51): Mouse Motion Handler Download |
function [x,y]=gpos(h_axes)%GPOS Get current position of cusor and return its coordinates in axes with handle h_axes% h_axes - handle of specified axes% [x,y] - cursor coordinates in axes h_aexs%% -------------------------------------------------------------------------% Note:% 1. This function...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (52): Trace the Position of Cursor without Click Download |
MOUSE_FIGURE(handle) creates a figure (or modifies an existing one with handle [handle]) that allows zooming with the scroll wheel and panning with mouse clicks, *without* first selecting the ZOOM or PAN tools from the toolbar. Moreover, zooming occurs to and from the point the mouse currently...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (50): Mouse-friendly FIGURE Download |
Display and update the pixel value from image in the figure title bar on mouse movement.Usage:z=rand(10,10);h = image(z)set(gcf,'WindowButtonMotionFcn', {@getPixelOnMouseMove,h});Now move the mouse over the image and see the pixel value in the figure title bar.Bugs and comments are welcome.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (38): Data Cursor on Mouse Move Download |