From: Nayanjyoti on
I am trying to display two images (say using imagesc or imshow ) in two figures. I would like to have cross hairs on those figures synchronized with each other. i.e. the cross hair points to same x,y locations on both the images. To keep it simple, we can assume that the figures and the images have the exact same dimensions and we do not have to scale them in order to point to the right location. Any idea, how I might be able to do this. I tried to use windowbuttonmotionfcn to get the xy data from one figure. But, I was unable to set the other figure pointer location using this xy data.