I created a GUI in GUIDE containing a pushbutton that toggles the zoom of the axes in the figure. When the zoom is enabled and I right-click on the axes, the context menu appears at the bottom of the figure instead of at the location of the mouse pointer.
The following is my callback function for the zoom pushbutton:
function zoom_callback(hObject, eventdata, handles)% This button toggles the zoom of the axes in the figure.
zoom
Best Answer