i found something that works on a figure..now i wont that to work on my GUI.Especially i want it to work on a handle.axes1 on my GUI.
%%%%%%%%%%%%%%%%%%%%%%%%%%%
clf
clear all
figure;
%the mouse-click sets a flag for point aquisition
set(gcf,'windowbuttondownfcn','hit=1;');
%start looping...
Hello.
I am working on matlab 7.3.0 R2006b.
I am making a gui that has a picture (handle.axes1) on it and some operation buttons.
My problem is that i want to take the cordinates of the mouse on mouse click on the gui.
This cordinates(x,y) i want to take them on these 2 param each time i click...