Stuart’s MATLAB Videos

Advanced MATLAB: ButtonDownFcn 1

Posted by Doug Hull,

This is the next in a series of advanced topics in MATLAB. My definition of “Advanced” is somewhat nebulous and arbitrary, so even newer users can give this a watch. Two and a half minute video shows how to use buttondownfcn to get the current point. This can be a fundamental skill that underlies many advanced GUIs.
Find the files here. Other videos have been gathered here: Other Advanced MATLAB posts have been gathered here:

1 CommentsOldest to Newest

Thanks for another great tutorial.

If my plot were actually a 2-D figure, would it be possible to get the (x,y) and also the intensity at that spot (x/255)?


Add A Comment

What is 9 + 10?

Preview: hide

These postings are the author's and don't necessarily represent the opinions of MathWorks.