"Bruno Luong" <firstname.lastname@example.org> wrote in message <email@example.com>... > Can you pick a handle h that has been change and run the command: > > ancestor(h,'axes') > > % Bruno
Thanks - that was exactly the command I needed. You were right that some of my handles were being assigned to the wrong axis (wrong from my point of view). I'm not yet sure why, but now I know more about where to look.
One fix I found was to explicitly set the figure in a particular place: set(0,'CurrentFigure',myData.figHandle) whereas before I was explicitly setting the axis but not the figure. I don't understand yet why changing this made the wrong assignment disappear since I was assigning the 'CurrentAxes' but at least now I have some tools to probe it.