To re-enable the control of the WindowButtonDownFcn event after plotting in MATLAB, you simply need to set the WindowButtonDownFcn property back to the desired function or callback. Here is an example demonstrating how you can do this:
main.m478 chars15 linesBy resetting the WindowButtonDownFcn property to your desired callback function, you will regain control of the mouse click events.
gistlibby LogSnag