buttondown performs after zoom out

19 visualizaciones (últimos 30 días)
Lenka
Lenka el 5 de Abr. de 2014
Hello, I wrote a GUI code where there are three axes with defined buttondownfcn. When I use zoom out tool each buttondownfcn is performed after zooming, so matlab evaluates zoom out tool as a mouse click. Is there any way to prevent performing buttondown function after zoom out? code:
function axes1_CreateFcn(hObject, eventdata, handles)
set(zoom_handle,'ActionPostCallback',{@clickpostcallback});
function axes2_CreateFcn(hObject, eventdata, handles)
set(zoom_handle,'ActionPostCallback',{@clickpostcallback});
function axes3_CreateFcn(hObject, eventdata, handles)
set(zoom_handle,'ActionPostCallback',{@clickpostcallback});
function clickpostcallback(obj,evd)
handles = guidata(obj);
ax = handles.axes;
linkaxes(ax,'xy');

Respuestas (0)

Categorías

Más información sobre Data Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by