From: ArtS on
Hi all,

I´ve a GUI with axes located in one corner. The axes contain a patch object. I also have a toolbar with the zoom button. When I zoom into the object it exceeds the assigned borders and appears partly in the background between other GUI instruments next to the axes. What I actually would like to have is an integrated figure window within my GUI. Can anybody help?
From: Walter Roberson on
ArtS wrote:

> I´ve a GUI with axes located in one corner. The axes contain a patch
> object. I also have a toolbar with the zoom button. When I zoom into the
> object it exceeds the assigned borders and appears partly in the
> background between other GUI instruments next to the axes. What I
> actually would like to have is an integrated figure window within my
> GUI. Can anybody help?

Which Matlab version are you using? And does it make a difference if you
switch to a different renderer? Is the axes inside a uipanel ?
From: ArtS on
Walter Roberson <roberson(a)hushmail.com> wrote in message <sJs3o.31361$o27.4583(a)newsfe08.iad>...
> ArtS wrote:
>
> > I´ve a GUI with axes located in one corner. The axes contain a patch
> > object. I also have a toolbar with the zoom button. When I zoom into the
> > object it exceeds the assigned borders and appears partly in the
> > background between other GUI instruments next to the axes. What I
> > actually would like to have is an integrated figure window within my
> > GUI. Can anybody help?
>
> Which Matlab version are you using? And does it make a difference if you
> switch to a different renderer? Is the axes inside a uipanel ?


I'm using the version 7.10.0.499 (R2010a).
I've tried it with all other renderers, too, and there's no difference in terms of my problem. Yes, the axes are inside a uipanel, but I also tried to place them into an empty space of the GUI.
I also tried to play around with the axes object of simple_GUI from the Matlab examples and it reacts in the same way if zoom in or pan.
From: neil on
"ArtS " <lrt50851(a)stud.uni-stuttgart.de> wrote in message <i2nlho$gu4$1(a)fred.mathworks.com>...
> Walter Roberson <roberson(a)hushmail.com> wrote in message <sJs3o.31361$o27.4583(a)newsfe08.iad>...
> > ArtS wrote:
> >
> > > I´ve a GUI with axes located in one corner. The axes contain a patch
> > > object. I also have a toolbar with the zoom button. When I zoom into the
> > > object it exceeds the assigned borders and appears partly in the
> > > background between other GUI instruments next to the axes. What I
> > > actually would like to have is an integrated figure window within my
> > > GUI. Can anybody help?
> >
> > Which Matlab version are you using? And does it make a difference if you
> > switch to a different renderer? Is the axes inside a uipanel ?
>
>
> I'm using the version 7.10.0.499 (R2010a).
> I've tried it with all other renderers, too, and there's no difference in terms of my problem. Yes, the axes are inside a uipanel, but I also tried to place them into an empty space of the GUI.
> I also tried to play around with the axes object of simple_GUI from the Matlab examples and it reacts in the same way if zoom in or pan.

I have had this problem before. Although when I used the 'painters' renderer, as far as I can remember, seemed to solve the issue.

Unfortunately I don't have the code any more, but I'll play around a bit and let you know if I can figure it out. I can remember it being bloody annoying.