Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: datacursormode
Replies: 2   Last Post: Jan 3, 2013 8:42 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
griffey

Posts: 10
Registered: 5/16/06
datacursormode
Posted: May 20, 2006 9:26 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have designed a GUI. I put some images in axes. But, I want to know
some coordinates on the images. I don't know how to use
datacursormode to output the data cursor. The codes are listed below:

axes(handles.axes2);
I1=imread('1.bmp');
imshow(I1);title('Test Image');
datacursormode(handles.axes2);
dcm_obj = datacursormode(handles.axes2);

I don't know how to set the "figure_handle" inside "datacursormode".
Now I use "handles.axes2" as "figure_handle", but it doesn't work.
Any idea?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.