Data Cursor on Mouse Move
by Durga Lal Shrestha
15 Sep 2011
(Updated 15 Sep 2011)
Display and update the pixel value from image in the figure title bar on mouse movement.
|
Watch this File
|
| File Information |
| Description |
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. |
| MATLAB release |
MATLAB 7.10 (2010a)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Updates |
| 15 Sep 2011 |
Bug fixed on subfunction "closest" and some comments are added. |
|
Contact us at files@mathworks.com